求助代码

P1000 超级玛丽游戏

你不发个代码怎么知道哪错了啊?
by dienter @ 2023-07-25 15:41:43


@[dienter](/user/933643) 咋发?
by YuZimo @ 2023-07-25 15:43:39


@[YuZimo](/user/1032187) 楼上
by dienter @ 2023-07-25 15:44:35


蚌槌住了... 不废话,直接上代码 ```cpp #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 2021panjiawang @ 2023-07-25 15:44:48


@[2021panjiawang](/user/780896) @[Genius_physicist](/user/1004888) 谢谢
by YuZimo @ 2023-07-25 15:47:18


@[Genius_physicist](/user/1004888) ~~不至于吧?~~ 虽然你的代码很高明,但是有没有一种可能,我们可以直接输出示例图案
by 2021panjiawang @ 2023-07-25 15:48:37


当然啦 @[2021panjiawang](/user/780896) ,但是我们只要出错一个字符或空格,半小时的努力就浪费了,像我这种谨慎的人,还真是少呢!!!
by Genius_physicist @ 2023-07-25 15:52:38


@[Genius_physicist](/user/1004888) 1. 输错的话只要改一个字符就行了。 2. Ctrl+C/V 是个好东西。
by zym0325 @ 2023-07-25 15:57:17


@[zym0325](/user/804115) 赞同
by 2021panjiawang @ 2023-07-25 16:07:44


``` ___ | 你 -----[=[]=> ____===__| / | \ ----====--/ ★021S | /_____________________/ /\ \◎◎◎◎◎◎◎◎⊙| ~~~~~~~~~~~~~~~~~ 你马上要没了 ```
by Genius_physicist @ 2023-07-25 16:12:15


| 下一页