求助(为啥这样不行)

P1000 超级玛丽游戏

DGL__DGL_AFO @ 2023-04-16 21:48:21

#include<bits/stdc++.h>
using namespace std;
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 ud2_ @ 2023-04-16 22:01:22

因为没有准确无误地输出题面给出的场景。


by 20120329thz @ 2023-04-16 22:50:41

@DGL__DGL 没有换行、


by _Gabriel_ @ 2023-04-16 23:41:05

@DGL__DGL 每输出完一行就要换行


by DGL__DGL_AFO @ 2023-04-23 19:31:20

@ud2_ 谢谢


by DGL__DGL_AFO @ 2023-04-23 19:31:50

@20120329thz 谢谢


by DGL__DGL_AFO @ 2023-04-23 19:32:02

@tanzekai 谢谢


by gmcwd @ 2023-05-05 19:03:16

eee......


by Kuangxirui @ 2023-05-25 13:04:34

换行符:endl或\n


by Sqj147 @ 2023-06-08 10:39:32

格式问题:空格


|