真新镇小智要成为宝可梦大师
真新镇小智要成为宝可梦大师
全部文章
分类
题解(2)
归档
标签
去牛客网
登录
/
注册
真新镇小智要成为宝可梦大师的博客
全部文章
(共39篇)
题解 | 求最大值
#include <climits> #include <iostream> using namespace std; int main() { int n; int Max=INT_MIN; while (cin >> n) { // ...
2025-03-24
0
36
题解 | 日期类
#include <iostream> using namespace std; int arr[27]={0,31,28,31,30,31,30,31,31,30,31,30,31}; int main() { int n; int year,month,day; ...
2025-03-24
0
25
题解 | EXCEL排序
#include <iostream> #include <algorithm> using namespace std; struct Node { string No; string Name; double score; }; int m; bo...
2025-03-24
0
24
题解 | 字符串排序
#include <bits/stdc++.h> #include <cstdio> using namespace std; bool cmp(string&a,string&b){return a.size()<b.size();} int main...
2025-03-24
0
31
题解 | 首字母大写
#include <iostream> using namespace std; int main() { string str; while(getline(cin,str)){ if(str[0]>='a'&&str[0]<...
2025-03-24
0
22
题解 | 单词替换
#include <iostream> #include <vector> #include <string> using namespace std; int main() { string str; string a, b; getl...
2025-03-24
0
26
题解 | 全排列
#include <iostream> using namespace std; void fun(string& s,bool* flag,string cur){ if(s.size()==cur.size()){ cout<<cur<...
2025-03-24
0
25
题解 | 日志排序
#include <iostream> #include <vector> #include <algorithm> #include <string> using namespace std; struct Node { string s; ...
2025-03-24
0
17
题解 | 查找学生信息
#include <iostream> #include<string> #include<map> using namespace std; int main() { int n; cin >> n; string str; ...
2025-03-24
0
32
题解 | 计算天数
#include <iostream> using namespace std; int days[13] = {0, 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31}; int main() { int n; while (...
2025-03-23
0
32
首页
上一页
1
2
3
4
下一页
末页