- 博客(20)
- 资源 (3)
- 收藏
- 关注
原创 L1-074 两小时学完C语言 (5 分)
#include<stdio.h>int main(){ int a,b,c; scanf("%d %d %d",&a,&b,&c); printf("%d",a-b*c); return 0;}
2021-11-01 11:31:36
406
原创 L1-073 人与神 (5 分)
#include<stdio.h>int main(){ printf("To iterate is human, to recurse divine."); return 0;}
2021-11-01 11:29:50
158
原创 L1-066 猫是液体 (5 分)
#include<stdio.h>int main(){ int a,b,c; scanf("%d %d %d",&a,&b,&c); printf("%d",a*b*c); return 0;}
2021-11-01 11:28:25
171
原创 L1-065 嫑废话上代码 (5 分)
#include<stdio.h>int main(){ printf("Talk is cheap. Show me the code."); }
2021-11-01 11:26:54
132
原创 L1-060 心理阴影面积 (5 分)
#include"stdio.h"int main(){ int a,b,s; scanf("%d%d",&a,&b); s=5000-50*(100-a)-50*b; printf("%d",s); return 0;}
2021-11-01 11:23:06
340
原创 L1-057 PTA使我精神焕发 (5 分)
#include"stdio.h"int main(){ printf("PTA shi3 wo3 jing1 shen2 huan4 fa1 !"); return 0;}
2021-11-01 11:21:31
91
原创 L1-052 2018我们要赢 (5 分)
#include"stdio.h"#include"stdlib.h"void main(){ printf("2018\n"); printf("wo3 men2 yao4 ying2 !"); system("pause");}
2021-11-01 11:19:34
152
原创 L1-051 打折 (5 分)
#include"stdio.h"#include"stdlib.h"void main(){ int y,z; double x; scanf("%d%d",&y,&z); x=y*z*0.1; printf("%.2f",x); system("pause");}
2021-11-01 11:17:38
140
原创 L1-045 宇宙无敌大招呼 (5 分)
#include<stdio.h>int main(){ char str[8]; scanf("%s",str); printf("Hello %s\n",str); return 0;}
2021-11-01 11:15:03
357
原创 L1-042 日期格式化 (5 分)
#include<stdio.h>int main(){ int y,m,d; scanf("%d-%d-%d",&m,&d,&y); printf("%d-%02d-%02d\n",y,m,d); return 0;}
2021-11-01 11:02:20
115
原创 L1-038 新世界 (5 分)
#include<stdio.h>int main(){ printf("Hello World\n"); printf("Hello New World\n"); return 0;}
2021-10-31 10:04:24
78
原创 L1-036 A乘以B (5 分)
#include<stdio.h>int main(){ int a,b; scanf("%d %d",&a,&b); printf("%d\n",a*b); return 0;}
2021-10-31 10:03:03
96
原创 L1-029 是不是太胖了 (5 分)
#include<stdio.h>int main(){ int h; scanf("%d",&h); printf("%.1f\n",(h-100)*0.9*2); return 0;}
2021-10-31 10:01:33
90
原创 L1-026 I Love GPLT (5 分)
#include<stdio.h>int main(){ char str[]={"I Love GPLT"}; int i; i=0; while(str[i]!='\0') { printf("%c\n",str[i]); i++; } return 0;}
2021-10-31 09:59:49
148
原创 L1-024 后天 (5 分)
#include<stdio.h>int main(){ int d; scanf("%d",&d); if(d<=5)printf("%d\n",(d+2)); else printf("%d\n",(d+2)%7); return 0;}
2021-10-31 09:58:09
116
原创 L1-021 重要的话说三遍 (5 分)
#include<stdio.h>int main(){ for(int i=0;i<3;i++) printf("I'm gonna WIN!\n"); return 0;}
2021-10-31 09:55:45
76
原创 L1-014 简单题 (5 分)
#include<stdio.h>int main(){ printf("This is a simple problem."); return 0;}
2021-10-31 09:53:45
72
原创 L1-012 计算指数 (5 分)
#include<stdio.h>int main(){ int n,s=1; scanf("%d",&n); if(n>0 && n<=10) for(int i=0;i<n;i++) s*=2; printf("2^%d = %d\n",n,s); return 0;}
2021-10-31 09:50:46
77
原创 L1-004 计算摄氏温度 (5 分)
#include <stdio.h>int main(){ int a,c; scanf("%d",&a); c=5*(a-32)/9; printf("Celsius = %d",c); return 0;}
2021-10-31 09:48:47
75
原创 L1-001 Hello World (5 分)
#include <stdio.h>#include <stdlib.h>int main(){ printf("Hello World!\n"); return 0;}
2021-10-31 09:44:13
70
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人