当前位置: 首页 > article >正文

10:超级玛丽游戏

总Time Limit: 

1000ms

Memory Limit: 

65536kB

Description

超级玛丽是一个非常经典的游戏。请你用字符画的形式输出超级玛丽中的一个场景。

Input

无。

Output

如样例所示。

Sample Input

(无)

Sample Output

                ********
               ************
               ####....#.
             #..###.....##....
             ###.......######              ###                 ###           ###           ###
                ...........               #...#               #...#         #...#         #...#
               ##*#######                 #.#.#               #.#.#         #.#.#         #.#.#
            ####*******######             #.#.#               #.#.#         #.#.#         #.#.#
           ...#***.****.*###....          #...#               #...#         #...#         #...#
           ....**********##.....           ###                 ###           ###           ###
           ....****    *****....
             ####        ####
           ######        ######
##############################################################              ##################################
#...#......#.##...#......#.##...#......#.##------------------#              #...#......#.##------------------#
###########################################------------------#              ###############------------------#
#..#....#....##..#....#....##..#....#....#####################              #..#....#....#####################
##########################################    #----------#                  ##############    #----------#
#.....#......##.....#......##.....#......#    #----------#                  #.....#......#    #----------#
##########################################    #----------#                  ##############    #----------#
#.#..#....#..##.#..#....#..##.#..#....#..#    #----------#                  #.#..#....#..#    #----------#
##########################################    ############                  ##############    ############

Hint

必须严格按样例输出,每行的行尾不能有空格。

源码:

#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;
}


http://www.kler.cn/a/541441.html

相关文章:

  • 【大数据安全分析】大数据安全分析技术框架与关键技术
  • 基于 FFmpeg 和 OpenGLES 的 iOS 视频预览和录制技术方案设计
  • JavaScript 中的防抖和节流,它们的区别是什么,以及如何实现?
  • c语言函数学习
  • 《艾尔登法环》运行时弹窗“由于找不到vcruntime140.dll,无法继续执行代码”要怎么解决?
  • rdian是一个结构体,pdian=^Rdian,list泛型做什么用?
  • 利用NestJS构建高效的RESTful API接口
  • 什么是推理大模型?DeepSeek R1推理大模型与DeepSeek V3模型的区别是什么?什么时候该使用推理大模型?
  • 【Linux】:Socket编程应用层 TCP
  • [学习笔记] Kotlin Compose-Multiplatform
  • 在离线的服务器上部署Python的安装库
  • 计算机网络结课设计:通过思科Cisco进行中小型校园网搭建
  • kbengine服务器和 数据库 系统路径配置
  • C语言基本概念————讨论sqrt()和pow()函数与整数的关系
  • 高效利用Java爬虫开发批量获取商品信息:电商数据挖掘的“利器”
  • 【鸿蒙HarmonyOS Next实战开发】多媒体视频播放-GSYVideoPlayer
  • Pyqt的QTabWidget组件
  • 【STM32H743】【RT-Thread Studio】RTC功能(基于BSP工程可一键开启)
  • 嵌入式linux系统中VIM编辑工具用法与GCC参数详解
  • 记录一次报错:spring security 403报错
  • HIVE如何注册UDF函数
  • 使用 Python/Boto/Django 实现 S3 直接上传
  • Django操作指令大集合说明
  • electron中调用C++
  • 视频编解码标准总结
  • 1.15 联邦学习