OpenJudge 10:超级玛丽游戏

Description

Super Mary is a very classic game. Please output a scene from Super Mary in the form of character painting.

Input

None.

Output

As shown in the example.

Input sample

(None)

Output sample

Text
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
                    ********
                   ************
                   ###....#.
                 #..##.....##....
                 ##.......####              ##                 ##           ##           ##
                    ...........               #...#               #...#         #...#         #...#
                   ##*#####                 #.#.#               #.#.#         #.#.#         #.#.#
                ###*******####             #.#.#               #.#.#         #.#.#         #.#.#
               ...#***.****.*##....          #...#               #...#         #...#         #...#
               ....**********##.....           ##                 ##           ##           ##
               ....****    *****....
                 ###        ###
               ####        ####
    ##########################################              #######################
    #...#......#.##...#......#.##...#......#.##------------------#              #...#......#.##------------------#
    #############################------------------#              ##########------------------#
    #..#....#....##..#....#....##..#....#....##############              #..#....#....##############
    ############################    #----------#                  ##########    #----------#
    #.....#......##.....#......##.....#......#    #----------#                  #.....#......#    #----------#
    ############################    #----------#                  ##########    #----------#
    #.#..#....#..##.#..#....#..##.#..#....#..#    #----------#                  #.#..#....#..#    #----------#
    ############################    ########                  ##########    ########

hint

The sample must be output strictly, and the tail of each line must not have a space.

idea

Copy the sample, use a line of COUT or Printf, and add the royal connection. If you want to improve the readability of code, you can use a multi - line Cout or Printf.

Answer

C++
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#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;
}

Result

Used memory:128kB
Run time:1ms
Language:G++
Submit time:2019-03-24 09:35:39

http://noi.openjudge.cn/ch0101/10/

OpenJudge 10:超级玛丽游戏

https://blog.tsinbei.com/en/archives/203/

Author
Hsukqi Lee
Posted on

2022-02-21

Edited on

2022-08-04

Licensed under

CC BY-NC-ND 4.0

# Programing  Cpp  OpenJudge  NOI  NOIP

Comments

Name
Mail
Site
None yet