10:超级玛丽游戏
描述
超级玛丽是一个非常经典的游戏。 请你用字符画的形式输出超级玛丽中的一个场景。
输入
无。
输出
如样例所示。
示例输入
(无)
示例输出
********
************
####....#.
#..###.....##....
###.......###### ### ### ### ###
........... #...# #...# #...# #...#
##*####### #.#.# #.#.# #.#.# #.#.#
####*******###### #.#.# #.#.# #.#.# #.#.#
...#***.****.*###.... #...# #...# #...# #...#
....**********##..... ### ### ### ###
....**** *****....
#### ####
###### ######
############################################################## ##################################
#...#......#.##...#......#.##...#......#.##------------------# #...#......#.##------------------#
###########################################------------------# ###############------------------#
#..#....#....##..#....#....##..#....#....##################### #..#....#....#####################
########################################## #----------# ############## #----------#
#.....#......##.....#......##.....#......# #----------# #.....#......# #----------#
########################################## #----------# ############## #----------#
#.#..#....#..##.#..#....#..##.#..#....#..# #----------# #.#..#....#..# #----------#
########################################## ############ ############## ############
提示
必须严格按样例输出,每行的行尾不能有空格。
分析
根据题目可以直接输出,注意需要一行一行输出,不可以一次性输出。
代码
#include <iostream>
using namespace std;
int main()
{
cout << " ********" << endl;
cout << " ************" << endl;
cout << " ####....#." << endl;
cout << " #..###.....##...." << endl;
cout << " ###.......###### ### ### ### ###" << endl;
cout << " ........... #...# #...# #...# #...#" << endl;
cout << " ##*####### #.#.# #.#.# #.#.# #.#.#" << endl;
cout << " ####*******###### #.#.# #.#.# #.#.# #.#.#" << endl;
cout << " ...#***.****.*###.... #...# #...# #...# #...#" << endl;
cout << " ....**********##..... ### ### ### ###" << endl;
cout << " ....**** *****...." << endl;
cout << " #### ####" << endl;
cout << " ###### ######" << endl;
cout << "############################################################## ##################################" << endl;
cout << "#...#......#.##...#......#.##...#......#.##------------------# #...#......#.##------------------#" << endl;
cout << "###########################################------------------# ###############------------------#" << endl;
cout << "#..#....#....##..#....#....##..#....#....##################### #..#....#....#####################" << endl;
cout << "########################################## #----------# ############## #----------#" << endl;
cout << "#.....#......##.....#......##.....#......# #----------# #.....#......# #----------#" << endl;
cout << "########################################## #----------# ############## #----------#" << endl;
cout << "#.#..#....#..##.#..#....#..##.#..#....#..# #----------# #.#..#....#..# #----------#" << endl;
cout << "########################################## ############ ############## ############" << endl;
return 0;
}