- 博客(14)
- 收藏
- 关注
原创 UVa 457 - Linear Cellular Automata
13583110 457 Linear Cellular Automata Accepted ANSI C 0.012 2014-05-03 21:48:27
2014-05-03 22:00:50 662
原创 UVa 694 - The Collatz Sequence
13582659 694 The Collatz Sequence Accepted ANSI C 0.035 2014-05-03 11:59:05
2014-05-03 20:11:58 535
原创 UVa 488 - Triangle Wave
13524184 488 Triangle Wave Accepted ANSI C 0.345 2014-04-20 13:25:25 【问题描述】 输出所要求的“三角形波”。
2014-04-20 21:34:10 714
原创 UVa 445 - Marvelous Mazes
#include #include int main(){ char c; int num=0,i; while((c=getchar())!=EOF){ if(isdigit(c)) num+=c-48; else if(isalpha(c)||c=='*'){ if(c!='b') for(i=1;i<=num;i++) putchar(c);
2014-04-20 18:31:16 637
原创 UVa 490 - Rotating Sentences
#include #include #define MAXN 100+10 char s[MAXN][MAXN]; int main(){ int n=0,i,j,maxl=0; memset(s,' ',sizeof(s)); while(fgets(s[n++],MAXN,stdin)) if(strlen(s[n-1])>maxl) maxl=strlen(s[n-1]);
2014-04-20 13:41:40 769
原创 UVa 414 - Machined Surfaces
13520498 414 Machined Surfaces Accepted ANSI C 0.009 2014-04-19 15:52:55 #include #include int main(){ int n; while(scanf("%d",&n)==1){ int i,j,num[n],sum=0,max=-1;
2014-04-19 23:57:50 604
原创 UVa 494 - Kindergarten Counting Game
13518357 494 Kindergarten Counting Game Accepted ANSI C 0.009 2014-04-19 05:48:16
2014-04-19 13:57:53 745
原创 UVa 458 - The Decoder
【 #include int main(){ char c; while((c=getchar())!=EOF) if(c=='\n') printf("\n"); else printf("%c",c-7); return 0; }
2014-04-15 21:29:21 885
原创 UVa 10300 - Ecological Premium
#include int main(){ int n,f; scanf("%d",&n); while(scanf("%d",&f)==1){ int i,a,b,c,sum=0; for(i=1;i<=f;i++){ scanf("%d%d%d",&a,&b,&c); sum+=a*c; } printf("%d\n",sum); } return 0;
2014-04-14 23:36:30 755
原创 UVa 10055 - Hashmat the Brave Warrior
UVa 13491710 10055 Hashmat the Brave Warrior Accepted C++ 0.745 2014-04-13 22:49:28
2014-04-13 23:09:08 744
原创 我的笔记
详见https://onedrive.live.com/view.aspx?resid=C86D8FDF290140BE!618&app=OneNote&wdo=2&authkey=!AMS0B0rEg-K7E_0
2014-04-13 18:59:33 850
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人