呜呜,手都要废了都没对,求教。

P1000 超级玛丽游戏

cj240816ytq @ 2024-11-19 22:19:31

不会,呜呜呜


by King_and_Grey @ 2024-11-19 22:21:24

@cj240816ytq

PHP 语言直接复制


by cj240816ytq @ 2024-11-19 22:24:08

oh,答对了答对了,谢谢大佬♪(・ω・)ノ


by 南苑 @ 2024-11-19 22:24:38

@cj240816ytq 复制输出就行了。。。 比如我第一次做的时候这样()

    cout << "                ********" << endl;
    cout << "               ************" << endl;
    cout << "               ####....#." << endl;
    cout << "             #..###.....##...." << endl;

by Enjoy0527 @ 2024-11-23 15:11:28

@cj240816ytq c++解法:

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

    return 0;
}

by cj240816ytq @ 2024-11-23 16:56:54

Thanks♪(・ω・)ノ


by AB123456A @ 2024-11-30 14:50:44

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

by canwen @ 2024-12-01 11:45:11

黑科技之 R"()"

蒟蒻也是刚会的。


by Smart0001 @ 2024-12-03 20:33:53

C++代码

#include<bits/stdc++.h>
using namespace std;
int main(){
    cout<<"                ********\n";
    cout<<"               ************\n";
    cout<<"               ####....#.\n";
    cout<<"             #..###.....##....\n";
    cout<<"             ###.......######              ###            ###\n";
    cout<<"                ...........               #...#          #...#\n";
    cout<<"               ##*#######                 #.#.#          #.#.#\n";
    cout<<"            ####*******######             #.#.#          #.#.#\n";
    cout<<"           ...#***.****.*###....          #...#          #...#\n";
    cout<<"           ....**********##.....           ###            ###\n";
    cout<<"           ....****    *****....\n";
    cout<<"             ####        ####\n";
    cout<<"           ######        ######\n";
    cout<<"##############################################################\n";
    cout<<"#...#......#.##...#......#.##...#......#.##------------------#\n";
    cout<<"###########################################------------------#\n";
    cout<<"#..#....#....##..#....#....##..#....#....#####################\n";
    cout<<"##########################################    #----------#\n";
    cout<<"#.....#......##.....#......##.....#......#    #----------#\n";
    cout<<"##########################################    #----------#\n";
    cout<<"#.#..#....#..##.#..#....#..##.#..#....#..#    #----------#\n";
    cout<<"##########################################    ############\n";
    return 0;
}

by Smart0001 @ 2024-12-03 20:35:58

@Enjoy0527 为啥我回复的代码没高亮


by lluuonone_sr @ 2024-12-06 13:46:37

吾有一计~~

#define p(a) printf("%s\n", a);
...
p("##############################################################");

| 下一页