求助

P1000 超级玛丽游戏

ruaaaaaaaa @ 2023-07-28 13:54:08

好像没问题啊

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

by Iniaugoty @ 2023-07-28 13:57:02

开头多了一列空格

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

by Tairitsu_Cat @ 2023-08-12 14:59:15

直接复制一堆cout 然后alt左键选中“”里面 直接复制


|