HuHaojun_Windows @ 2023-09-09 20:17:38
请问该程序为什么是错的?```cpp
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 wangjiayuan @ 2023-09-09 20:21:16
金币都没了能对?
by Shen_Linwood @ 2023-09-09 20:22:20
注意每行开头的空格
by Emily_daimayuan @ 2023-09-09 20:24:44
希望更丰富的展现?使用md
by OIerWu_829 @ 2023-09-09 20:36:33
希望更丰富的展现?使用 Markdown
by OIerWu_829 @ 2023-09-09 20:37:28
#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 WINDOWSareC @ 2023-09-10 17:39:56
PHP了解一下
by Fuction12_ @ 2023-09-10 20:47:23
希丰展?使MD。
by AGua_ @ 2023-09-13 12:27:27
#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<<"########################################## ############";
return 0;
}
by AGua_ @ 2023-09-13 12:28:51
@AGua_ 一行一行复制下来的(悲
by witherbogged @ 2023-11-19 20:21:27
希望更丰富的展现?使用 Markdown、KaTeX。