niuke9999
niuke9999
全部文章
分类
归档
标签
去牛客网
登录
/
注册
niuke9999的博客
全部文章
(共86篇)
题解 | 纸牌游戏
#include <stdio.h> #include <stdbool.h> bool compare(int a1, int b1, int a2, int b2) { if (a1 > b1 && a2 > b2) return ...
2025-11-16
0
47
题解 | 计算一年中的第几天
#include <stdio.h> int main(void) { int Y, M, D; while (scanf("%d%d%d", &Y, &M, &D) == 3) { if (M > 1...
2025-11-16
0
34
题解 | 小红的夹吃棋
#include <stdio.h> #include <string.h> int main(void) { int t; scanf("%d", &t); char ch[3][4]; while(t--){...
2025-11-16
0
49
题解 | 特殊的科学计数法
#include <stdio.h> #include <string.h> int main(void) { char N[1000005]; scanf("%s", N); int len = strlen(N); ...
2025-11-15
0
34
题解 | 数颜色
#include <stdio.h> #include <string.h> #include <stdlib.h> int main(void) { char ch[100005]; scanf("%s", ch); ...
2025-11-15
0
48
题解 | 小红走网格
#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
35
题解 | 游游的最小公倍数
#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
37
题解 | 矩形游戏
#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
37
题解 | 小红和小紫的取素因子游戏
#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
39
题解 | 复杂的最大公约数
#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
35
首页
上一页
1
2
3
4
5
6
7
8
9
下一页
末页