刷完这题我就去睡觉
刷完这题我就去睡觉
全部文章
分类
题解(3)
归档
标签
去牛客网
登录
/
注册
刷完这题我就去睡觉的博客
全部文章
(共3篇)
题解 | #字符串最后一个单词的长度#
">using namespace std; int main(){ string s; getline(cin,s); int res=0; for(int i=s.size()-1;i>=0;i--){ if(s[i]==' ')break...
C++
2022-03-03
0
316
题解 | #小乐乐改数字#
用一下小堆 #include<bits/stdc++.h> using namespace std; int main(){ int n,k; cin>>n>>k; priority_queue<int,vector,greater<>>q...
C++
2022-03-02
0
329
题解 | #正方形检测#
include<bits/stdc++.h> using namespace std;typedef long long ll;const int maxn=10010;int x[6];int y[6];int main(){ vector<int>vt; sc...
2021-08-06
0
494