zoukankan      html  css  js  c++  java
  • 洛谷 P1000 超级玛丽游戏

    题目背景

    本题是洛谷的试机题目,可以帮助了解洛谷的使用。

    建议完成本题目后继续尝试P1001P1008

    题目描述

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

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

    输入输出格式

    输入格式:

     

     

    输出格式:

     

    如描述

     

    输入输出样例

    暂无测试点

    标程

    思路:愉悦身心

    #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;
    }
    细雨斜风作晓寒。淡烟疏柳媚晴滩。入淮清洛渐漫漫。 雪沫乳花浮午盏,蓼茸蒿笋试春盘。人间有味是清欢。
  • 相关阅读:
    [转]自定义水晶报表纸张大小
    [转]Winform(C#)DataGridView显示Tooltip
    格式化日期字符串
    工具下载地址
    servlet: org.apache.tomcat.util.http.fileupload.FileUploadException: Processing of multipart/formdata request failed
    <<精通Spring2.x>>笔记:第2章学习源码
    andriod 缩略图Thumbnails学习
    转: Eclipse程序员要掌握的常用快捷键
    代码:指定大小的图片
    Android自定义的Camera的图片会90度旋转问题
  • 原文地址:https://www.cnblogs.com/cangT-Tlan/p/7853646.html
Copyright © 2011-2022 走看看