1. P1000 超级玛丽游戏

#include<stdio.h>
int main() {
printf(
" ********\n"
" ************\n"
" ####....#.\n"
" #..###.....##....\n"
" ###.......###### ### ###\n"
" ........... #...# #...#\n"
" ##*####### #.#.# #.#.#\n"
" ####*******###### #.#.# #.#.#\n"
" ...#***.****.*###.... #...# #...#\n"
" ....**********##..... ### ###\n"
" ....**** *****....\n"
" #### ####\n"
" ###### ######\n"
"##############################################################\n"
"#...#......#.##...#......#.##...#......#.##------------------#\n"
"###########################################------------------#\n"
"#..#....#....##..#....#....##..#....#....#####################\n"
"########################################## #----------#\n"
"#.....#......##.....#......##.....#......# #----------#\n"
"########################################## #----------#\n"
"#.#..#....#..##.#..#....#..##.#..#....#..# #----------#\n"
"########################################## ############\n"
);
return 0;
}

2. P1001 A+B Problem

#include <iostream>
using namespace std;
int main(){
int a;
int b;
cin>>a;
cin>>b;
cout<<a+b<<endl;
return 0;
}

3. P1035 [NOIP 2002 普及组] 级数求和

#include <iostream>
using namespace std;

int main() {
double S = 0;
int k;
cin >> k;

for (int i = 1; ; i++) {
S += 1.0 / i;
if (S > k) {
cout << i << endl;
break;
}
}
return 0;
}