offer快朝我砸来
offer快朝我砸来
全部文章
分类
归档
标签
去牛客网
登录
/
注册
offer快朝我砸来的博客
全部文章
(共75篇)
题解 | #登录验证#
#include <stdio.h> int main() { char m[30] = { 0 }; char n[30] = { 0 }; while (scanf("%s %s", m, n) != EOF) { if (strcmp(m, "admin") == 0 ...
2023-04-19
0
215
题解 | #筛选法求素数#
#include <stdio.h> int main() { int i = 0, n = 0, j = 0, arr[200] = { 0 }; int count = 0; while (scanf("%d", &n) != EOF) { f...
2023-04-18
0
238
题解 | #有序序列插入一个数#
#include <stdio.h> int main() { int n = 0,m = 0, i = 0, j = 0, arr[20] = { 0 }; int temp; while (scanf("%d", &n) != EOF) { for (i = 0; i &...
2023-04-18
0
259
题解 | #公务员面试#
#include <stdio.h> int main() { int arr[7] = { 0 }; int temp = 0; int n = 0, i = 0, j = 0, m = 0; while (scanf("%d %d %d %d %d %d %d", &arr[...
2023-04-18
0
211
题解 | #数字三角形#
#include <stdio.h> int main() { int i = 0, j = 0, n = 0; while (scanf("%d", &n) != EOF) { for (i = 1; i < n + 1; i++)//控制行数 { for (...
2023-04-18
0
209
题解 | #HTTP状态码#
#include <stdio.h> int main() { int a = 0; while (scanf("%d", &a) != EOF) { switch (a) { case 200: p...
2023-04-18
0
175
题解 | #挂科危险#
#include <stdio.h> int main() { int n = 0; while (scanf("%d", &n) != EOF) { if (n >= 0 && n <= 3) { printf("Good\n"); } else...
2023-04-18
0
209
题解 | #平均身高#
#include <stdio.h> int main() { float a = 0, b = 0, c = 0, d = 0, e = 0; float average = 0; while (scanf("%f %f %f %f %f", &a, &b, &c, &d, &e...
2023-04-18
0
245
题解 | #新年快乐#
#include <stdio.h> int main() { printf("Happy New Year*2019*"); return 0; }
2023-04-18
0
182
题解 | #空心三角形图案#
#include <stdio.h> int main() { int i = 0, j = 0, n = 0, m = 0; while (scanf("%d", &n) != EOF) { for (i = 0; i < n; i++) { ...
2023-04-17
0
203
首页
上一页
1
2
3
4
5
6
7
8
下一页
末页