为什么会错,好烦!!!!

P1000 超级玛丽游戏

马里奥的头是开位移还是想独立了···?
by ababbjxzt @ 2023-10-21 16:33:08


@[ababbjxzt](/user/776306) 还有其他建议吗
by great_mad @ 2023-10-21 21:21:10


@[great_mad](/user/1160345) 你的地板就不换行了吗?
by ababbjxzt @ 2023-10-22 10:51:17


@[great_mad](/user/1160345) 你试一下这个```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 tian_lkrexe114514 @ 2023-11-04 09:43:53


``` #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 panghanchen2012 @ 2023-11-18 15:17:02


@[tian_lkrexe114514](/user/1035092) 希望更丰富的展现?用Markdown、KaTeX
by 050404a @ 2023-11-19 20:18:35


```c #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 << "########################################## ############"; return 0; } ```
by LANXIANGYU0329 @ 2023-11-22 19:49:21


代码送你了
by LANXIANGYU0329 @ 2023-11-22 19:50:16


你没用endl
by tian_lkrexe114514 @ 2023-11-25 09:04:26


@[tian_lkrexe114514](/user/1035092) 严格地说,不用endl是可以的,不会算错的
by edu1081457001 @ 2024-02-15 15:57:37


|