求助各位大佬!!!

P1000 超级玛丽游戏

k2189295359 @ 2024-09-04 21:51:33

新入坑洛谷,蒟蒻一只,求各位大佬帮忙看下哪里错了orz

#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 hyh0174 @ 2024-09-04 21:55:01

@k2189295359 倒数第六行末少一个引号


by __oio__ @ 2024-09-04 22:16:15

啊哈,改好了

#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 M123456y @ 2024-09-22 12:30:03

@oio 请问空格是自己一个一个敲出来的吗 每个符号都要自己数吗


by __oio__ @ 2024-09-22 12:40:34

@M123456y em,题目里有的,只是复制过来然后输出就好,这题有点小麻烦)))


|