Zerone·
Zerone·
全部文章
题解
归档
标签
去牛客网
登录
/
注册
Zerone·的博客
全部文章
/ 题解
(共111篇)
题解 | #兔子的序列#
">#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
441
题解 | #牛牛的数组匹配#
">#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
369
题解 | #牛牛的短信#
">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
387
题解 | #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
题解 | #数位五五#
">int main() { int a, b, count = 0; scanf("%d %d", &a, &b); for (int i = a; i <= b; i++) { int val = i, sum = 0; ...
C
2022-05-27
4
618
题解 | #小乐乐计算函数#
">int max3(float a, float b, float c) { if (a >= b && a >= c) return a; else if (b >= a && b >= c) return b; e...
C
2022-05-27
3
408
题解 | #简写单词#
```#include<stdio.h> int main() { char s[100] = {0}; while (scanf("%s", &s) != EOF ) { if (s[0] >= 65 && s[0] <...
C
2022-05-27
23
1020
首页
上一页
1
2
3
4
5
6
7
8
9
10
下一页
末页