gzy15579578987 @ 2024-09-22 15:06:06
#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 aqtw_qidong @ 2024-09-22 15:14:48
哪里空格打多/少了?
by laialaodi @ 2024-09-22 15:18:12
自己看提交记录显示哪一行有问题 @gzy15579578987
by sdf1234567891022 @ 2024-09-22 15:26:38
是不是最后一行多了一个"endl"
by gzy15579578987 @ 2024-09-22 16:40:54
@sdf1234567891022 不是呢,我试过了
by gzy15579578987 @ 2024-09-22 16:46:55
@laialaodi !我刚刚看了,它显示“Wrong Answer.wrong answer On line 5 column 40,read #,expected" 第五行40列处(翻译)
by gzy15579578987 @ 2024-09-22 17:03:50
#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 gzy15579578987 @ 2024-09-22 17:07:29
我刚刚改了一下距离(距离好像是错了),我改完距离他还是错的 。现在变成”Wrong Answer.wrong answer On line 18 column 58, read-,expected#" 第18行58列
by iilong @ 2024-09-22 20:38:22
#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 iilong @ 2024-09-22 20:39:35
@gzy15579578987 试试这个
by biruize3S @ 2024-09-23 21:32:56
@iilong对了