陶良策
陶良策
全部文章
分类
归档
标签
去牛客网
登录
/
注册
陶良策的博客
全部文章
(共66篇)
题解 | 神奇的口袋
#include <iostream> #include<vector> using namespace std; int main() { int N; while (cin >>N) { // 注意 while 处理多个 case ...
2025-03-19
0
31
题解 | 日志排序
#include <iostream> #include<algorithm> #include<sstream> using namespace std; typedef struct taskLog { string total_log; s...
2025-03-18
0
31
题解 | Problem C
#include <iostream> #include<cmath> using namespace std; int factor(int num) { if (num <= 2)return num; int max_factor = -1; ...
2025-03-05
0
25
题解 | Problem C
#include <iostream> #include<cmath> using namespace std; // bool isprime(int val) { // if (val <= 1 || (val != 2 && val % ...
2025-03-05
1
27
题解 | 单词识别
#include <iostream> #include<map> #include<sstream> #include<vector> using namespace std; int main() { string s; wh...
2025-03-05
0
36
题解 | 判断数字位置
#include <iostream> using namespace std; int main() { string s; int m; while (cin >> m) { // 注意 while 处理多个 case for (...
2025-03-05
0
34
题解 | 最长&最短文本
#include <iostream> #include<vector> #include<algorithm> using namespace std; bool cmp(string s1, string s2) { return s1.lengt...
2025-03-05
0
28
题解 | A+B
#include <iostream> using namespace std; int main() { string s, s1, s2; while (getline(cin,s)) { // 注意 while 处理多个 case ...
2025-03-05
0
29
题解 | 字符串连接
#include <iostream> using namespace std; int main() { char s1[101]={0},s2[101]={0}; while (cin>>s1) { // 注意 while 处理多个 case c...
2025-03-05
0
25
题解 | 合并符串
#include <iostream> using namespace std; int main() { string s1,s2; while (cin >> s1) { // 注意 while 处理多个 case cin.ignore(...
2025-03-05
0
25
首页
上一页
1
2
3
4
5
6
7
下一页
末页