爱信等_华耀
爱信等_华耀
全部文章
分类
题解(38)
归档
标签
去牛客网
登录
/
注册
爱信等_华耀的博客
全部文章
(共39篇)
题解 | #简单密码#
#include<bits/stdc++.h> using namespace std; char decode(char c); int main(){ string str; while(cin>>str){ for(int i=0;i&...
C++
2022-01-19
0
420
题解 | #密码验证合格程序#
#include<bits/stdc++.h> using namespace std; int main(){ string input; while(cin>>input){ if(input.size()<...
C++
2022-01-18
0
271
题解 | #简单错误记录#
#include<bits/stdc++.h> using namespace std; string get_file_name_16(string path); string get_file_name(string path); int main(){ stri...
C++
2022-01-18
0
351
题解 | #识别有效的IP地址和掩码并进行分类统计#
写的一坨屎,记录一下-- #include<bits/stdc++.h> using namespace std; int string2int(string str); int ip2numvec(vector<int>& nums,string str); vo...
C++
2022-01-18
0
350
题解 | #坐标移动#
分享一下 #include<bits/stdc++.h> using namespace std; int string2int(string str); bool process(string str,int& x,int& y); int main(){ ...
C++
2022-01-18
0
387
题解 | #求int型正整数在内存中存储时1的个数#
#include<bits/stdc++.h> using namespace std; int main(){ int n; cin>>n; int num=0; while(n){ if(n%2) ...
C++
2022-01-18
0
282
题解 | #字符串排序#
#include<bits/stdc++.h> using namespace std; bool compare_(string& str1,string& str2){ if(str1.compare(str2)) return fals...
C++
2022-01-18
0
211
题解 | #句子逆序#
#include<bits/stdc++.h> using namespace std; int main(){ vector<string> vec; string str; while(cin>>str){ ...
C++
2022-01-18
0
285
题解 | #字符串反转#
和HJ11 一样的解法 #include<bits/stdc++.h> using namespace std; int main(){ string str; cin>>str; reverse(str.begin(), ...
C++
2022-01-17
0
237
题解 | #数字颠倒#
#include<bits/stdc++.h> using namespace std; int main(){ string str; cin>>str; reverse(str.begin(), str.end()); c...
C++
2022-01-17
12
317
首页
上一页
1
2
3
4
下一页
末页