自由的风0450
自由的风0450
全部文章
分类
归档
标签
去牛客网
登录
/
注册
自由的风0450的博客
全部文章
(共38篇)
题解 | 小苯的计算式
#include <iostream> #include<cmath> #include<string> using namespace std; int count(int n,int c){ string t=to_string(c); in...
2025-11-21
0
7
题解 | 栈和排序
#include <iostream> #include<vector> #include<stack> using namespace std; int main() { ios::sync_with_stdio(false); cin.tie...
2025-11-19
0
8
题解 | 铺地毯
#include <iostream> #include<stack> using namespace std; struct Carpet{ int id; int x1,y1; int x2,y2; }; int main() { int...
2025-11-19
0
6
题解 | 最大公因数与最小公倍数
#include <stdio.h> int gcd(int a,int b){ return b==0?a:gcd(b,a%b); } int main() { int a, b; scanf("%d %d",&a,&b);...
2025-11-19
0
8
题解 | 魔法棒
#include <stdio.h> #include<math.h> int main() { int t; scanf("%d",&t); while(t--){ long long n; ...
2025-11-18
0
13
题解 | 小红的字符串修改
#include <stdio.h> #include <string.h> #include <limits.h> int get(char a, char b) { int diff = a - b; if (diff < 0) { ...
2025-11-18
0
13
题解 | 穷哈哈~
#include <stdio.h> #include<stdlib.h> int main() { int n; scanf("%d",&n); char*s=(char*)malloc((n+1)*sizeof(cha...
2025-11-18
0
8
题解 | 买橘子
#include <stdio.h> int main() { int n; scanf("%d",&n); if(n%2==1){ printf("-1"); return 0; ...
2025-11-17
0
13
题解 | 小红的扫雷游戏
#include <bits/stdc++.h> using namespace std; int main() { ios::sync_with_stdio(false); cin.tie(nullptr); char g[4][5]; for (in...
2025-11-16
2
21
题解 | 宵暗的妖怪
#include <iostream> #include<vector> #include<algorithm> using namespace std; int main() { int n; cin>>n; vector&...
2025-11-16
0
11
首页
上一页
1
2
3
4
下一页
末页