标签:type -- span 场景 main tle ace 时间 algo
超级玛丽是一个非常经典的游戏。请你用字符画的形式输出超级玛丽中的一个场景。
(无)
********
************
####....#.
#..###.....##....
###.......###### ### ### ### ###
........... #...# #...# #...# #...#
##*####### #.#.# #.#.# #.#.# #.#.#
####*******###### #.#.# #.#.# #.#.# #.#.#
...#***.****.*###.... #...# #...# #...# #...#
....**********##..... ### ### ### ###
....**** *****....
#### ####
###### ######
############################################################## ##################################
#...#......#.##...#......#.##...#......#.##------------------# #...#......#.##------------------#
###########################################------------------# ###############------------------#
#..#....#....##..#....#....##..#....#....##################### #..#....#....#####################
########################################## #----------# ############## #----------#
#.....#......##.....#......##.....#......# #----------# #.....#......# #----------#
########################################## #----------# ############## #----------#
#.#..#....#..##.#..#....#..##.#..#....#..# #----------# #.#..#....#..# #----------#
########################################## ############ ############## ############
#include <iostream> #include <algorithm> #include <stdio.h> #include <string> #include <ctype.h> using namespace std; int main() { cout << " ********" << endl; cout << " ************" << endl; cout << " ####....#.\n" " #..###.....##....\n" " ###.......###### ### ### ### ###\n" " ........... #...# #...# #...# #...#\n" " ##*####### #.#.# #.#.# #.#.# #.#.#\n" " ####*******###### #.#.# #.#.# #.#.# #.#.#\n" " ...#***.****.*###.... #...# #...# #...# #...#\n" " ....**********##..... ### ### ### ###\n" " ....**** *****....\n" " #### ####\n" " ###### ######\n" "############################################################## ##################################\n" "#...#......#.##...#......#.##...#......#.##------------------# #...#......#.##------------------#\n" "###########################################------------------# ###############------------------#\n" "#..#....#....##..#....#....##..#....#....##################### #..#....#....#####################\n" "########################################## #----------# ############## #----------#\n" "#.....#......##.....#......##.....#......# #----------# #.....#......# #----------#\n" "########################################## #----------# ############## #----------#\n" "#.#..#....#..##.#..#....#..##.#..#....#..# #----------# #.#..#....#..# #----------#\n" "########################################## ############ ############## ############"; return 0; }
原来写好cout << ""之后
直接复制字符到两个双引号之间就好了
标签:type -- span 场景 main tle ace 时间 algo
原文地址:http://www.cnblogs.com/QingHuan/p/7010387.html