??

P1000 超级玛丽游戏

great_mad @ 2023-10-23 09:01:52

#include <stdio.h>
int main(){
    printf(
"            ********\n"
"           ************\n"
"           ####....#.\n"
"         #..###.....##....\n"
"         ###.......######              ###            ###\n"
"            ...........               #...#          #...#\n"
"           ##*#######                 #.#.#          #.#.#\n"
"        ####*******######             #.#.#          #.#.#\n"
"       ...#***.****.*###....          #...#          #...#\n"
"       ....**********##.....           ###            ###\n"
"       ....****    *****....\n"
"         ####        ####\n"
"       ######        ######\n"
"##############################################################\n"
"#...#......#.##...#......#.##...#......#.##------------------#\n"
"###########################################------------------#\n"
"#..#....#....##..#....#....##..#....#....#####################\n"
"##########################################    #----------#\n"
"#.....#......##.....#......##.....#......#    #----------#\n"
"##########################################    #----------#\n"
"#.#..#....#..##.#..#....#..##.#..#....#..#    #----------#\n"
"##########################################    ############\n"
);
return 0;
}

by Endline @ 2023-10-23 10:32:45

前面几行的最前面少了 4 个空格。

改成这样:

#include <stdio.h>
int main(){
    printf(
"                ********\n"
"               ************\n"
"               ####....#.\n"
"             #..###.....##....\n"
"             ###.......######              ###            ###\n"
"                ...........               #...#          #...#\n"
"               ##*#######                 #.#.#          #.#.#\n"
"            ####*******######             #.#.#          #.#.#\n"
"           ...#***.****.*###....          #...#          #...#\n"
"           ....**********##.....           ###            ###\n"
"           ....****    *****....\n"
"             ####        ####\n"
"           ######        ######\n"
"##############################################################\n"
"#...#......#.##...#......#.##...#......#.##------------------#\n"
"###########################################------------------#\n"
"#..#....#....##..#....#....##..#....#....#####################\n"
"##########################################    #----------#\n"
"#.....#......##.....#......##.....#......#    #----------#\n"
"##########################################    #----------#\n"
"#.#..#....#..##.#..#....#..##.#..#....#..#    #----------#\n"
"##########################################    ############\n"
);
return 0;
}

|