Zerone·
Zerone·
全部文章
分类
题解(113)
归档
标签
去牛客网
登录
/
注册
Zerone·的博客
全部文章
(共115篇)
题解 | #最高身高#
">int main() { int n, m; scanf("%d %d", &n, &m); int val[n][m], max = 0 ; for (int i = 0; i < n; i++) { for (int j ...
C
2022-05-25
1
432
题解 | #矩阵元素定位#
">int main() { int n, m; scanf("%d %d", &n, &m); int val[n + 1][m + 1]; for (int i = 1; i <= n; i++) { for (int j =...
C
2022-05-25
2
532
题解 | #班级成绩输入输出#
">int main() { double val[5][5], sum = 0; for (int i = 0; i < 5; i++) { for (int j = 0; j < 5; j++) { scanf("%lf ", ...
C
2022-05-25
2
346
题解 | #筛选法求素数#
">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
266
首页
上一页
1
2
3
4
5
6
7
8
9
10
下一页
末页