会越来越强的哒哒
会越来越强的哒哒
全部文章
题解
归档
标签
去牛客网
登录
/
注册
会越来越强的哒哒的博客
全部文章
/ 题解
(共23篇)
题解 | #ASCII码#
">int main() { printf("%c%c%c%c%c%c%c%c%c%c%c%c",73,32,99,97,110,32,100,111,32,105,116,33); return 0; }
C
2022-03-09
0
344
题解 | #登录验证#
">#include<string.h> int main() { char admin[]="admin"; char code[]="admin"; char admin1[20]; char code1[20]; while(scanf("%...
C
2022-03-09
1
374
题解 | #有序序列判断#
">int main() { int n = 0; scanf("%d",&n); int arr[50]={0}; int i = 0; for(i = 0;i<n;i++) { scanf("%d ",&arr...
C
2022-03-09
0
261
题解 | #X形图案#
">int main() { int n = 0; while(~scanf("%d",&n)) { //n*n的数组,对角线初始化为*,其余初始化为‘ ’,最后打印这个二维数组 char arr[20][20]; int i...
C
2022-03-09
19
456
题解 | #序列中删除指定数字#
">int main() { int n = 0; scanf("%d",&n); int arr[n]; int i = 0; for(i = 0;i<n;i++) { scanf("%d ",&arr[i]);...
C
2022-03-09
2
326
题解 | #牛牛学数列#
">int main() { int n = 0; scanf("%d",&n); int i = 0; int sum = 0; for(i = 1;i<=n;i++) { if(i%2==0)//偶数 ...
C
2022-03-08
1
405
题解 | #字符串操作#
">int main() { int n = 0; int m = 0; scanf("%d %d",&n,&m); char s[n]; scanf("%s",&s); int i = 0; int l = 0,r =...
C
2022-03-07
0
300
题解 | #小乐乐改数字#
#include<stdio.h> int main() { long long n = 0; scanf("%lld",&n); long long a = n; long long b = n; int i = 0; int j = 0; int arr[9]; while(...
C
2022-03-04
0
267
题解 | #牛牛的球#
总感觉写过 ">int main() { double r = 0.0; scanf("%lf",&r); printf("%lf",(4.0/3.0)*3.14*r*r*r); return 0; }
C
2022-03-04
0
264
题解 | #牛牛的水杯#
#include<stdio.h> int main() { int h = 0,r = 0; scanf("%d %d",&h,&r); double ret = 3.14*h*(r*r);//一杯有多少ml水 ret = ret/1000; double sum = ...
C
2022-02-24
1
335
首页
上一页
1
2
3
下一页
末页