niuke9999
niuke9999
全部文章
分类
归档
标签
去牛客网
登录
/
注册
niuke9999的博客
全部文章
(共74篇)
题解 | 数楼梯
#include <stdio.h> int main(void) { int n; scanf("%d", &n); if(n == 1){ printf("1\n"); ret...
2025-11-24
0
20
题解 | 完美异或
#include <stdio.h> int main(void) { int t; scanf("%d", &t); while (t--) { int n; scanf("%d"...
2025-11-23
0
15
题解 | 被打乱的异或和
#include <stdio.h> int main(void) { int t, n; scanf("%d", &t); while(t--){ scanf("%d", &n); ...
2025-11-23
0
14
题解 | 二进制不同位数
#include <stdio.h> int main(void) { int m, n; scanf("%d%d", &m, &n); int count = 0; while(m || n){ i...
2025-11-22
0
22
题解 | 二进制数1
#include <stdio.h> int main(void) { long long x; scanf("%lld", &x); long long count = 0; while(x){ x &am...
2025-11-22
0
27
题解 | 小红的排列构造②
#include <stdio.h> int main(void) { int n; scanf("%d", &n); char ch[100005]; scanf("%s", ch); ...
2025-11-22
0
24
题解 | 构造数列
#include <stdio.h> int main(void) { int t; scanf("%d", &t); while(t--){ int n; scanf("%d",...
2025-11-21
0
24
题解 | 小红的排列构造①
#include <stdio.h> int main(void) { int n; scanf("%d", &n); if (n == 1 || n == 2) { printf("-1\n")...
2025-11-21
0
24
题解 | 构造三角形
#include <stdio.h> int main(void) { int t; scanf("%d", &t); while (t--) { int a, b, c, d; scanf(&quo...
2025-11-21
0
35
题解 | 构造数独
#include <stdio.h> #include <stdlib.h> int main() { int n, s; scanf("%d %d", &n, &s); int* first_row = (in...
2025-11-20
0
19
首页
上一页
1
2
3
4
5
6
7
8
下一页
末页