在吵架的小辣鸡很糊涂
在吵架的小辣鸡很糊涂
全部文章
分类
归档
标签
去牛客网
登录
/
注册
在吵架的小辣鸡很糊涂的博客
全部文章
(共74篇)
题解 | 球格模型(简单版)
#include <iostream> #include <vector> using namespace std; int main() { long long n, m, k; cin >> n >> m >> k;...
2025-08-23
0
13
题解 | 小红的正整数构造
#include <iostream> using namespace std; int main() { int a, b, x; while (cin >> a >> b>> x) { // 注意 while 处理多个 case ...
2025-08-21
0
14
题解 | 最小循环节
#include <iostream> #include <set> using namespace std; int main() { string str; while (cin >> str) { // 本题实质是去重字符...
2025-08-21
0
10
题解 | 求最小公倍数
#include <iostream> using namespace std; // 欧几里得算法求最大公约数 static int gcd(int a, int b) { while (b != 0) { int tmp = b; b = a...
2025-08-20
0
14
题解 | 字符逆序
#include <iostream> using namespace std; int main() { string str; while (getline(cin, str)) { size_t start = str.find_first_not...
2025-08-20
0
14
题解 | 构造A+B
#include <iostream> using namespace std; int main() { int n, k; while (cin >> n >> k) { int sum = 0; for (i...
2025-08-20
0
15
题解 | 字符统计
#include <iostream> #include <vector> #include <algorithm> using namespace std; static struct CharNum { char ch; int count;...
2025-08-18
0
14
题解 | 排序
#include <iostream> #include <vector> #include <algorithm> using namespace std; int main() { int n, type; while (cin >&g...
2025-08-18
0
15
题解 | 等差数列
#include <iostream> using namespace std; int main() { int n; while (cin >> n) { int sum = 0; for (int i = 0; i &l...
2025-08-18
0
15
题解 | 自守数
#include <iostream> #include <cmath> using namespace std; static bool isAutomorphicNumber(int num) { int squre = num * num; int c...
2025-08-18
0
18
首页
上一页
1
2
3
4
5
6
7
8
下一页
末页