【模拟】洛谷 P1000 超级玛丽游戏
2017-04-24 16:21
357 查看
题目背景
本题是洛谷的试机题目,可以帮助了解洛谷的使用。建议完成本题目后继续尝试P1001、P1008。
题目描述
超级玛丽是一个非常经典的游戏。请你用字符画的形式输出超级玛丽中的一个场景。******** ************ ####....#. #..###.....##.... ###.......###### ### ### ........... #...# #...# ##*####### #.#.# #.#.# ####*******###### #.#.# #.#.# ...#***.****.*###.... #...# #...# ....**********##..... ### ### ....**** *****.... #### #### ###### ######
##############################################################
#…#……#.##…#……#.##…#……#.##——————#
###########################################——————#
#..#….#….##..#….#….##..#….#….#####################
#################################### #———-
#…..#……##…..#……##…..#……# #———-#
#################################### #———-
#.#..#….#..##.#..#….#..##.#..#….#..# #———-#
####################################
输入输出格式
输入格式:无
输出格式:
如描述
输入输出样例
暂无测试点思路
。。。什么都不想说,复制吧代码
#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<<"########################################## ############"; return 0; }
相关文章推荐
- 【洛谷P1000 超级玛丽游戏-100分】
- 洛谷P1000 超级玛丽游戏
- 洛谷 P1308 统计单词数【字符串+模拟】
- 洛谷[P1662]世纪难题 数7 打表,模拟
- 洛谷1071 潜伏者 NOIP2009 字符串模拟
- |洛谷|模拟|P2689 东南西北
- 模拟(洛谷1403 [AHOI2005]约数研究)
- |洛谷|NOIP2006|模拟|P1062 数列
- 【模拟】洛谷 P1086 花生采摘
- 【模拟】洛谷 P1098 字符串的展开
- 【模拟】洛谷 P1181 数列分段Section I
- 【模拟】洛谷 P1201 [USACO1.1]贪婪的送礼者Greedy Gift Givers
- 【模拟】洛谷 P1211 [USACO1.3]牛式 Prime Cryptarithm
- 【模拟】洛谷 P1319 压缩技术
- 洛谷 1928 外星密码 模拟? 解题报告
- 洛谷 NOIP 模拟 DAY1
- P1000 超级玛丽游戏
- 洛谷 模拟城市2.0
- 【模拟】洛谷 P1058 立体图
- 【模拟】洛谷 P1008 三连击