怎么一直都是0

P1000 超级玛丽游戏

ldy18078130883 @ 2023-09-15 20:31:34


by S0CRiA @ 2023-09-15 20:32:15

可能是你的代码不正确


by lzw_ @ 2023-09-15 20:32:19

建议抄题解


by xiaoyang111 @ 2023-09-15 20:33:35

应该是打错了


by GoodLuckCat @ 2023-09-15 20:33:45

@ldy18078130883

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

by zhouyk0501 @ 2023-09-15 20:35:46


by Terrible @ 2023-09-15 20:36:02

https://www.luogu.com.cn/record/124813446

这份记录里 第五行前面少个空格,加上空格后后面需要重新对齐。

Ctrl C+Ctrl V 都用不好,怎么成为合格的码农!


by 177921272007sun @ 2023-09-16 21:55:57

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

    cout << "" << endl;
    return 0;
}

by 违规用户名saudyfughjbnk2 @ 2023-09-19 17:27:10

hhh


by WINDOWSareC @ 2023-09-21 17:40:58

你代码呢?


by xiechengxuan1061862 @ 2023-09-24 12:33:15

可以使用php语言啊??? php语言做起来只用吧要输出的东西复制到答题板上就行了


| 下一页