zzfyupup
zzfyupup
全部文章
题解
归档
标签
去牛客网
登录
/
注册
zzfyupup的博客
全部文章
/ 题解
(共132篇)
题解 | #简写单词#
来自专栏
#include<stdio.h> #include<string.h> int main() { char ch[1000]; gets(ch); int sz = strlen(ch); for (int i = 0; i < sz;...
C
2022-06-24
2
313
题解 | #字符串操作#
来自专栏
#include<stdio.h> int main() { int m = 0, n = 0, l = 0, r = 0, i; char ch1, ch2; scanf("%d %d",&n,&m); char ch[50]={0}; ...
C
C#
2022-06-24
2
343
题解 | #竞选社长#
来自专栏
#include<stdio.h> #include<string.h> int main() { char ch[100] = {0}; int i = 0, sum1 = 0, sum2 = 0; scanf("%s", ch); int ...
C
C#
2022-06-24
0
296
题解 | #添加逗号#
来自专栏
#include<stdio.h> #include<string.h> int main() { char ch[100] = {0}; scanf("%s", &ch); int sz = strlen(ch); for (int ...
C
C#
C
2022-06-24
3
470
题解 | #[NOIP2008]笨小猴#
来自专栏
#include<stdio.h> #include<string.h> int main() { int maxn = 0, minn =9, sum = 0; int i, j, m,flag=1; //m=maxn-minn char ch[10...
C
C#
2022-06-24
17
520
题解 | #登录验证#
来自专栏
#include<stdio.h> #include<string.h> int main() { char name[10]={0}; char password[10]={0}; scanf("%s %s",name,password); if...
C
C#
2022-06-24
1
473
题解 | #[NOIP2018]标题统计#
来自专栏
#include<stdio.h> #include<string.h> int main() { int i=0,sum=0; char ch[10]={0}; gets(ch); for(i=0;i<strlen(ch);i++) ...
C
C#
2022-06-23
0
295
题解 | #扫雷#
#include <stdlib.h> #include <stdio.h> int main() { int m = 0; int n = 0; scanf("%d %d", &m, &n); char* a = (char...
C
2022-06-23
0
353
题解 | #井字棋#
来自专栏
`` #include <stdio.h> int main() { char arr[3][3]; int i, j; int flag = 0; for (i = 0; i < 3; i++) { for (j = 0; j ...
C
C#
2022-06-23
3
468
题解 | #杨辉三角#
来自专栏
#include<stdio.h> int main() { int n, i, j; int a[50][50] = {0}; scanf("%d", &n); for (i = 0; i < n; i++) { for (...
C
C#
2022-06-23
1
320
首页
上一页
1
2
3
4
5
6
7
8
9
10
下一页
末页