- 博客(21)
- 收藏
- 关注
原创 CodeForces 131A
#include #include #include #include using namespace std; char String[110]; int Count,Length; int main() { while(scanf("%s",String) != EOF) { Count = 0; Length = strlen(String);
2014-05-16 00:12:49 644
原创 CodeForces 197A
#include #include using namespace std; int a,b,r; int main() { while(scanf("%d%d%d",&a,&b,&r) != EOF) { if((2 * r <= a) && (2 * r <= b)) printf("First\n"); else
2014-05-16 00:11:06 920
原创 练习1-7
#include #include using namespace std; int a; int main() { while(a = getchar()) printf("%d\n",a); return 0; }
2014-05-12 22:20:29 565
原创 练习1-6
#include #include using namespace std; int main() { printf("%d\n",getchar() != EOF); return 0; }
2014-05-12 22:05:56 319
原创 练习1-5
#include #include using namespace std; #define STEP 20 float fahr,celsius; int lower,upper; int main() { lower = 0; upper = 300; fahr = upper; printf("华氏温度转换为摄氏温度\n"); while(fahr >
2014-05-12 22:01:23 326
原创 练习1-4
#include #include using namespace std; #define STEP 11 float fahr,celsius; int lower,upper; int main() { lower = -17; upper = 148; celsius = lower; printf("摄氏温度转换为华氏温度\n"); while(c
2014-05-12 21:56:20 331
原创 练习1-3
#include #include using namespace std; #define STEP 20 float fahr,celsius; int lower,upper; int main() { lower = 0; upper = 300; fahr = lower; printf("华氏温度与摄氏温度对照表\n"); while(fahr
2014-05-12 21:41:47 328
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人