以茂
以茂
全部文章
分类
归档
标签
去牛客网
登录
/
注册
以茂的博客
全部文章
(共26篇)
题解 | a+b
#include<bits/stdc++.h> using namespace std; int main(){ int a, b; while(cin >> a >> b){ cout << a + b <<...
2026-03-01
0
24
题解 | 最长&最短文本
#include <bits/stdc++.h> using namespace std; int main(){ vector<string> vec; string s; int minlen = 1001; int maxlen = 0;...
2026-03-01
0
31
题解 | N阶楼梯上楼问题
#include<bits/stdc++.h> using namespace std; int main(){ long long int dp[91]; dp[0] = 0; dp[1] = 1; dp[2] = 2; for(int i = ...
2026-02-28
0
33
题解 | 阶乘
#include<bits/stdc++.h> using namespace std; long long int func(int n){ long long int res = 1; for(int i = 1; i <= n; i++){ r...
2026-02-28
0
47
题解 | 八进制
#include<bits/stdc++.h> using namespace std; void func(int n){ string res; if(n == 0) cout << "0"; else{ whi...
2026-02-28
0
26
题解 | 农夫、羊、菜和狼的故事
#include<bits/stdc++.h> using namespace std; int main(){ cout << "sheep_go" << endl; cout << "nothing_c...
2026-02-28
0
41
首页
上一页
1
2
3
下一页
末页