蒟蒻浅问一下

P1000 超级玛丽游戏

CodeJuve @ 2024-09-07 10:12:12

就是我的这段代码有是骂问题吗?

#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;
    cout<<"##########################################    ############"<<endl;
    return 0;
}

为什么会过不了?


by YFJT @ 2024-09-07 10:24:28

应该是空格少了,建议直接复制


by 玉树临风英俊潇洒 @ 2024-09-07 10:36:40

语言选择PHP 然后马里奥直接贴进去就AC了

(求关)


by deerlove @ 2024-09-07 10:44:34

复制一下输入样例就行了(求关awa


by Shotaro_Kujo @ 2024-09-07 10:56:17

可能是空格或字符的问题这种题做不对是可以直接抄题解的哦,逻辑没问题就行OwO


by Shotaro_Kujo @ 2024-09-07 10:57:03

求关!


by qse_5858 @ 2024-09-08 20:28:33

这是我的代码:

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

求关


|