头疼的CPP程序媛
头疼的CPP程序媛
全部文章
分类
归档
标签
去牛客网
登录
/
注册
头疼的CPP程序媛的博客
全部文章
(共77篇)
题解 | #牛牛的线段#
#include <stdio.h> #include<math.h> int main() { int a=0; int b=0; int c=0; int d=0; scanf("%d %d %d %d",&a,&b,&c,&d);...
2023-04-27
0
189
题解 | #牛牛的线段#
#include <stdio.h> int main() { int a=0; int b=0; int c=0; int d=0; scanf("%d %d %d %d",&a,&b,&c,&d); int ret=(c-a)*(c-...
2023-04-27
0
161
题解 | #牛牛的等差数列#
#include <stdio.h> int main() { int a=0; int b=0; scanf("%d %d",&a,&b); printf("%d",b+(b-a)); return 0; }
2023-04-26
0
203
题解 | #牛牛的圆#
#include <stdio.h> #define pi 3.14 int main() { int r=0; scanf("%d",&r); printf("%.2f",pi*r*r); return 0; }
2023-04-26
0
153
题解 | #整数的十位#
#include <stdio.h> int main() { int a=0; scanf("%d",&a); printf("%d",(a/10)%10); return 0; }
2023-04-26
0
179
题解 | #整数的个位#
#include <stdio.h> int main() { int a=0; scanf("%d",&a); printf("%d",a%10); return 0; }
2023-04-26
0
140
题解 | #牛牛买电影票#
#include <stdio.h> int main () { int a=0; scanf("%d",&a); printf("%d\n",a*100); return 0; }
2023-04-26
0
245
题解 | #大小写转换#
#include <stdio.h> int main() { char a=0; while(scanf("%c",&a)!=EOF) { getchar(); printf("%c",a+32); pr...
2023-04-26
0
187
题解 | #学生基本信息输入输出#
#include <stdio.h> int main() { int a; double b,c,d; scanf("%d;%lf,%lf,%lf",&a,&b,&c,&d); b=(int)(b*100+0.5)/100.0; printf("...
2023-04-26
0
170
题解 | #带空格直角三角形图案#
#include<stdio.h> int main(){ int a; while(scanf("%d",&a)!=EOF){ int i,k; for(k=0;k<a;k++){ for(i=0;i<...
2023-04-25
0
181
首页
上一页
1
2
3
4
5
6
7
8
下一页
末页