ummmm...8年级的同学来gryz参加夏令营了。感觉自己老得好快...在此整理一下本人刷过的那些道水题...希望以后能有什么用吧(怎么可能233333)。
统计:
Openjudge: 累计153题。
CodeVS: 累计66题。
洛谷: 累计162题。
COGS: 累计5题。
去重前累计375题。
......待续......
Openjudge:
1.1(大概没人需要吧):
![](https://i-blog.csdnimg.cn/blog_migrate/8f900a89c6347c561fdf2122f13be562.gif)
![](https://i-blog.csdnimg.cn/blog_migrate/961ddebeb323a10fe0623af514929fc1.gif)
/* http://noi.openjudge.cn/ch0101/01/ */ #include<iostream> using namespace std; int main() { cout<<"Hello, World!"; return 0; } /* http://noi.openjudge.cn/ch0101/02/ */ #include<iostream> using namespace std; int main() { int a,b,c; cin>>a>>b>>c; cout<<b; return 0; } /* http://noi.openjudge.cn/ch0101/03/ */ #include<cstdio> int main() { int a,b,c; scanf("%d%d%d",&a,&b,&c); printf("%8d %8d %8d",a,b,c); return 0; } /* http://noi.openjudge.cn/ch0101/04/ */ #include<cstdio> using namespace std; double a; int main() { scanf("%lf",&a); printf("%.3lf",a); return 0; } /* http://noi.openjudge.cn/ch0101/05/ */ #include<cstdio> using namespace std; double a; int main() { scanf("%lf",&a); printf("%.12lf",a); return 0; } /* http://noi.openjudge.cn/ch0101/06/ */ #include<cstdio> using namespace std; char c;int d;float f;double lf; int main() { scanf("%c",&c); scanf("%d",&d); scanf("%f",&f); scanf("%lf",&lf); printf("%c %d %.6f %.6lf",c,d,f,lf); return 0; } /* http://noi.openjudge.cn/ch0101/07/ */ #include<cstdio> using namespace std; int main() { double a; scanf("%lf",&a); printf("%f\n%.5f\n%e\n%g",a,a,a,a); return 0; } /* http://noi.openjudge.cn/ch0101/08/ */ #include<iostream> using namespace std; int main() { char ch; cin>>ch; cout<<" "<<ch<<endl; cout<<" "<<ch<<ch<<ch<<endl; cout<<ch<<ch<<ch<<ch<<ch; return 0; } /* http://noi.openjudge.cn/ch0101/09/ */ #include<iostream> using namespace std; int main() { char ch; cin>>ch; cout<<" "<<ch<<endl; cout<<" "<<ch<<ch<<ch<<endl; cout<<ch<<ch<<ch<<ch<<ch<<endl; cout<<" "<<ch<<ch<<ch<<endl; cout<<" "<<ch<<endl; return 0; } /* http://noi.openjudge.cn/ch0101/10/ */ #include<iostream> using namespace std; int main() { cout<<" ********\n" <<" ************\n" <<" ####....#.\n" <<" #..###.....##....\n" <<" ###.......###### ### ### ### ###\n" <<" ........... #...# #...# #...# #...#\n" <<" ##*####### #.#.# #.#.# #.#.# #.#.#\n" <<" ####*******###### #.#.# #.#.# #.#.# #.#.#\n" <<" ...#***.****.*###.... #...# #...# #...# #...#\n" <<" ....**********##..... ### ### ### ###\n" <<" ....**** *****....\n" <<" #### ####\n" <<" ###### ######\n" <<"############################################################## ##################################\n" <<"#...#......#.##...#......#.##...#......#.##------------------# #...#......#.##------------------#\n" <<"###########################################------------------# ###############------------------#\n" <<"#..#....#....##..#....#....##..#....#....##################### #..#....#....#####################\n" <<"########################################## #----------# ############## #----------#\n" <<"#.....#......##.....#......##.....#......# #----------# #.....#......# #----------#\n" <<"########################################## #----------# ############## #----------#\n" <<"#.#..#....#..##.#..#....#..##.#..#....#..# #----------# #.#..#....#..# #----------#\n" <<"########################################## ############ ############## ############"; return 0; }
......待续......