Zerone·
Zerone·
全部文章
分类
题解(113)
归档
标签
去牛客网
登录
/
注册
Zerone·的博客
全部文章
(共115篇)
题解 | #牛牛的替换#
">int main() { int n; char a1, a2, a3, a4; scanf("%d %c %c %c %c\n", &n, &a1, &a2, &a3, &a4); char s[n]; for (...
C
2022-05-29
3
402
题解 | #牛牛的素数判断#
">int main() { int n, m = 0; while (scanf("%d", &n) != EOF) { m++; if (m != 1) { int count = 0; fo...
C
2022-05-29
2
371
题解 | #大吉大利,今晚吃鸡#
">int main() { int n; while (scanf("%d", &n) != EOF) { int m = 1; for (int i = 0; i < n; i++) m *= 3; ...
C
2022-05-28
1
430
题解 | #兔子的序列#
">#include<math.h> int main() { int n, x; scanf("%d\n", &n); int a, max = 0; for (int i = 0; i < n; i++) { scanf(...
C
2022-05-28
19
646
题解 | #素数回文#
">#include<math.h> int output(long n) { int count = 2; for (int i = 2; i <= sqrt(n); i++) { if (n % i == 0) count++; ...
C
2022-05-28
3
449
题解 | #牛牛的数组匹配#
">#include<math.h> int main() { int n, m, val; scanf("%d %d", &n, &m); int a[n], b[m], suma = 0, sumb = 0; for (int i = ...
C
2022-05-28
1
393
题解 | #牛牛的素数和#
">int main() { int l, r, sum = 0, count = 0; scanf("%d %d", &l, &r); for (int i = l; i <= r; i++) { for (int j = 1; j &...
C
2022-05-27
3
368
题解 | #牛牛的短信#
">int main() { unsigned int n, val; float sum = 0.0; scanf("%d", &n); for (int i = 0; i < n; i++) { scanf("%d ", &v...
C
2022-05-27
2
332
题解 | #[NOIP2010]数字统计#
">int main() { int l, r, count = 0; scanf("%d %d", &l, &r); for (int i = l; i <= r; i++) { int val = i; while (...
C
2022-05-27
3
397
题解 | #The Biggest Water Problem#
">int output(int n) { while (1) { n = n % 10 + n / 10; if (n >= 10) output(n); else return n; } } int main() { ...
C
2022-05-27
4
492
首页
上一页
1
2
3
4
5
6
7
8
9
10
下一页
末页