offer快朝我砸来
offer快朝我砸来
全部文章
分类
归档
标签
去牛客网
登录
/
注册
offer快朝我砸来的博客
全部文章
(共75篇)
题解 | #小乐乐算多少人被请家长#
#include <stdio.h> int main() { int n = 0; int count = 0; int i = 0, j = 0; int arr1[100] = { 0 }; int arr2[100] = { 0 }; ...
2023-04-27
0
208
题解 | #小乐乐转换成绩#
#include <stdio.h> int main() { int n = 0; int c = 0; scanf("%d", &n); c = n / 10; if (n >= 0) { switch (c) { case 10: case 9:p...
2023-04-27
0
177
题解 | #小乐乐是否被叫家长#
#include <stdio.h> int main() { int a = 0, b = 0, c = 0; int average = 0; scanf("%d %d %d", &a, &b, &c); average = (a + b + c) / 3; if (ave...
2023-04-25
0
199
题解 | #小乐乐找最大数#
#include <stdio.h> int main() { int i = 0, j = 0; int arr[4] = { 0 }; for (i = 0; i < 4; i++) { scanf("%d", &arr[i]); ...
2023-04-25
0
202
题解 | #小乐乐算平均分#
#include <stdio.h> int main() { float a = 0, b = 0, c = 0; float sum = 0, average = 0; while (scanf("%f %f %f", &a, &b, &c) != EOF) { sum ...
2023-04-25
0
223
题解 | #小乐乐与字符串#
#include <stdio.h> int main() { char str[100000] = { 0 }; scanf("%s", str); char *p = str; long long int c = 0, ch = 0, chn = 0; while (*p)...
2023-04-25
0
195
题解 | #小乐乐与序列#
#include <stdio.h> int main() { int n = 0; int arr[100000] = { 0 }; scanf("%d", &n); int i = 0; int temp = 0; for (i = 1; i <= n; i++) ...
2023-04-25
0
207
题解 | #小乐乐走台阶#
#include <stdio.h> int main() { int arr[100] = { 0 }; arr[0] = 0; arr[1] = 1; arr[2] = 2; int n = 0; scanf("%d", &n); int i = 0; for (i ...
2023-04-25
0
152
题解 | #小乐乐改数字#
#include <stdio.h> int main() { int arr[10] = { 0 }; int count = 0; int n = 0; int m = 0; int result = 0; scanf("%d", &n...
2023-04-25
0
197
题解 | #小乐乐与欧几里得#
#include <stdio.h> int main() { long long n = 0, m = 0; scanf("%ld %ld", &n, &m); if (n < m) { int temp = n; n = m; m = temp; } l...
2023-04-25
0
196
首页
上一页
1
2
3
4
5
6
7
8
下一页
末页