湮雨
湮雨
全部文章
分类
归档
标签
去牛客网
登录
/
注册
湮雨的博客
全部文章
(共108篇)
题解 | 分数线划定
#include <algorithm> #include <iostream> #include <vector> #include<cmath> using namespace std; int main() { int n,m; ...
2025-08-26
0
27
题解 | 【模板】排序
#include <algorithm> #include <iostream> #include <vector> using namespace std; int main() { int n; cin>>n; vecto...
2025-08-26
0
53
题解 | 回文日期
#include <iostream> #include <vector> using namespace std; vector<int> day={31,28,31,30,31,30,31,31,30,31,30,31}; bool isValidDate(i...
2025-08-22
0
39
题解 | 乒乓球
#include <iostream> using namespace std; void game(const string& s,int k){ int w_score=0,l_score=0; for(char c:s){ if(c=='W'...
2025-08-22
0
31
题解 | 多项式输出
#include <iostream> using namespace std; int main() { int i; cin>>i; int is_first_term=true; while(i>-1){ int ...
2025-08-22
0
20
题解 | 纸牌游戏
#include <iostream> using namespace std; int get_Alex_score(int a1,int a2,int b1,int b2){ int AlexScore=0; if(a1>b1&&a2>=...
2025-08-21
0
30
题解 | 特殊的科学计数法
#include <iostream> using namespace std; int main() { string N; cin>>N; int L=N.length(); int e=L-1; int a,b; if(...
2025-08-21
0
22
题解 | 九倍平方数
#include <iostream> using namespace std; bool isGoodNum(const string& s){ int sum=0; int cnt2=0; int cnt3=0; for(char c:s){ ...
2025-08-21
0
31
题解 | 元素方碑
#include <iostream> #include<vector> using namespace std; //1 2 5 4 // 1 1 5 5 //2 1 4 5 int main() { int t; cin>>t; wh...
2025-08-20
0
33
题解 | 小红的字符串修改
#include <iostream> using namespace std; //举例s:abc m=3 // abbc n=4 int main() { string s,t; cin>>s>>t; int m=s.size...
2025-08-20
0
27
首页
上一页
1
2
3
4
5
6
7
8
9
10
下一页
末页