求助,全是WA

P1000 超级玛丽游戏

Kmeow @ 2023-08-25 17:48:27

#include <bits/stdc++.h>
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;
}

这个代码全WA,咋回事


by WINDOWSareC @ 2023-09-09 15:25:42

@cywd29_666 嘴放干净点


by ybh2023 @ 2023-09-14 20:04:08

#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 ybh2023 @ 2023-09-14 20:04:54

用printf试试


by Kmeow @ 2023-09-17 11:33:01

@cywd29_666 你废了,我举报了


by Kmeow @ 2023-09-17 11:33:55

@WINDOWSareC 没事,我举报了


by Kmeow @ 2023-09-17 11:34:29

@ybh2023 谢了


by Kmeow @ 2023-09-17 11:35:26

谢谢各位,已过


by ybh2023 @ 2023-09-17 19:17:56

没事


上一页 |