Zerone·
Zerone·
全部文章
题解
归档
标签
去牛客网
登录
/
注册
Zerone·的博客
全部文章
/ 题解
(共111篇)
题解 | #筛选法求素数#
">int main() { int n; while (scanf("%d", &n) != EOF) { int m[n], count = 0, val = 0; for (int x = 2; x <= n; x++) { //...
C
2022-05-25
5
557
题解 | #小乐乐查找数字#
">int main() { int n, count = 0; scanf("%d", &n); int m[n + 1]; for (int i = 0; i < n + 1; i++) { scanf("%d ", &m[i...
C
2022-05-24
2
327
题解 | #序列中整数去重#
">int main() { int n; scanf("%d", &n); int m[n]; for (int i = 0; i < n; i++) { scanf("%d ", &m[i]); } for (...
C
2022-05-24
1
382
题解 | #序列中删除指定数字#
">int main() { int n; scanf("%d", &n); int m[n + 1]; for (int i = 0; i < n + 1; i++) { scanf("%d ", &m[i]); } ...
C
2022-05-24
1
488
题解 | #有序序列插入一个整数#
">int main() { int n, temp, val = 0; scanf("%d", &n); int m[n + 1]; for (int i = 0; i < n + 1; i++) { scanf("%d ", &...
C
2022-05-24
3
316
题解 | #有序序列判断#
">int main() { int n, max = 0, min = 0, equal = 0; scanf("%d", &n); int m[n]; for (int i = 0; i < n; i++) scanf("%d ", ...
C
2022-05-24
1
292
题解 | #有序序列合并#
">int main() { int n, m, temp; scanf("%d %d", &n, &m); int x[n + m]; for (int i = 0; i < n; i++) scanf("%d ", &x[i]); ...
C
2022-05-24
3
261
题解 | #争夺前五名#
">int main() { int n, temp; scanf("%d", &n); int m[n]; for (int i = 0; i < n; i++) { scanf("%d ", &m[i]); } ...
C
2022-05-24
4
355
题解 | #最高分与最低分之差#
">int main() { int n; scanf("%d", &n); int m[n]; for (int i = 0; i < n; i++) { scanf("%d ", &m[i]); } int m...
C
2022-05-24
1
337
题解 | #N个数之和#
">int main() { int n, sum = 0; scanf("%d\n", &n); int m[n]; for (int i = 0; i < n; i++) { scanf("%d ", &m[i]); ...
C
2022-05-24
3
512
首页
上一页
1
2
3
4
5
6
7
8
9
10
下一页
末页