求助

P1000 超级玛丽游戏

kapibala__ @ 2024-07-10 17:12:48

#include <bits/stdc++.h>
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;
}

by kapibala__ @ 2024-07-10 17:13:23

哦,知道了


by zhangjiayi666 @ 2024-07-13 10:42:03

百钱买百鸡


by kapibala__ @ 2024-07-14 19:55:42

?


by Devin2024 @ 2024-07-17 11:11:14

你的金币错位啦


by tangyiqi @ 2024-07-21 15:22:16

kapibala__
要不试试这样???

#include <bits/stdc++.h>
using namespace std;
int main() {
    cout<<"                ********\n";
    cout<<"               ************\n";
    cout<<"               ####....#.\n             #..###.....##....\n";
    cout<<"             ###.......######              ###            ###\n";
    cout<<"                ...........               #...#          #...#\n";
    cout<<"               ##*#######                 #.#.#          #.#.#\n";
    cout<<"            ####*******######             #.#.#          #.#.#\n";
    cout<<"           ...#***.****.*###....          #...#          #...#\n";
    cout<<"           ....**********##.....           ###            ###\n";
    cout<<"           ....****    *****....\n             ####        ####\n";
    cout<<"           ######        ######\n##############################################################\n";
    cout<<"#...#......#.##...#......#.##...#......#.##------------------#\n";
    cout<<"###########################################------------------#\n";
    cout<<"#..#....#....##..#....#....##..#....#....#####################\n";
    cout<<"##########################################    #----------#\n";
    cout<<"#.....#......##.....#......##.....#......#    #----------#\n";
    cout<<"##########################################    #----------#\n";
    cout<<"#.#..#....#..##.#..#....#..##.#..#....#..#    #----------#\n";
    cout<<"##########################################    ############";
    return 0;
}

求关,谢谢


by tangyiqi @ 2024-07-21 15:23:31

@kapibala__
要不试试这样???

#include <bits/stdc++.h>
using namespace std;
int main() {
    cout<<"                ********\n";
    cout<<"               ************\n";
    cout<<"               ####....#.\n             #..###.....##....\n";
    cout<<"             ###.......######              ###            ###\n";
    cout<<"                ...........               #...#          #...#\n";
    cout<<"               ##*#######                 #.#.#          #.#.#\n";
    cout<<"            ####*******######             #.#.#          #.#.#\n";
    cout<<"           ...#***.****.*###....          #...#          #...#\n";
    cout<<"           ....**********##.....           ###            ###\n";
    cout<<"           ....****    *****....\n             ####        ####\n";
    cout<<"           ######        ######\n##############################################################\n";
    cout<<"#...#......#.##...#......#.##...#......#.##------------------#\n";
    cout<<"###########################################------------------#\n";
    cout<<"#..#....#....##..#....#....##..#....#....#####################\n";
    cout<<"##########################################    #----------#\n";
    cout<<"#.....#......##.....#......##.....#......#    #----------#\n";
    cout<<"##########################################    #----------#\n";
    cout<<"#.#..#....#..##.#..#....#..##.#..#....#..#    #----------#\n";
    cout<<"##########################################    ############";
    return 0;
}

求关,谢谢


by kapibala__ @ 2024-07-21 20:55:41

@tangyiqi已关,感谢


|