niuke9999
niuke9999
全部文章
分类
归档
标签
去牛客网
登录
/
注册
niuke9999的博客
全部文章
(共74篇)
题解 | 小红的夹吃棋
#include <stdio.h> #include <string.h> int main(void) { int t; scanf("%d", &t); char ch[3][4]; while(t--){...
2025-11-16
0
32
题解 | 特殊的科学计数法
#include <stdio.h> #include <string.h> int main(void) { char N[1000005]; scanf("%s", N); int len = strlen(N); ...
2025-11-15
0
21
题解 | 数颜色
#include <stdio.h> #include <string.h> #include <stdlib.h> int main(void) { char ch[100005]; scanf("%s", ch); ...
2025-11-15
0
29
题解 | 小红走网格
#include <stdio.h> typedef long long ll; ll gcd(ll a, ll b){ while(b){ ll temp = b; b = a % b; a = temp; } ...
2025-11-15
0
22
题解 | 游游的最小公倍数
#include <stdio.h> typedef long long ll; ll gcd(ll a, ll b) { while (b != 0) { ll temp = b; b = a % b; a = temp; ...
2025-11-15
0
22
题解 | 矩形游戏
#include <stdio.h> typedef long long ll; int main(void) { ll n; scanf("%lld", &n); ll ans = n; for(ll i = 2; i*i...
2025-11-15
0
23
题解 | 小红和小紫的取素因子游戏
#include <stdio.h> int main(void) { int t; scanf("%d", &t); long long MAX = 1e9 + 5; long long x; for (int i...
2025-11-14
0
29
题解 | 复杂的最大公约数
#include <stdio.h> typedef unsigned long long ull; int main(void) { ull a, b; scanf("%llu%llu", &a, &b); if(a ==...
2025-11-14
0
22
题解 | 1=N
#include <stdio.h> int main(void) { int n; scanf("%d", &n); if(n == 1){ printf("0\n"); ret...
2025-11-14
0
22
题解 | 几乎是质数
#include <stdio.h> int main(void) { int n; scanf("%d", &n); if (n >= 1 && n <= 5) { printf(&qu...
2025-11-14
0
25
首页
上一页
1
2
3
4
5
6
7
8
下一页
末页