@[_dqy121](/user/1267992) 你有病吧代码都不给
by heyx0201 @ 2024-01-29 19:43:21
@[heyx0201](/user/768951) 这里不是不能发代码吗?
by _dqy121 @ 2024-01-29 19:50:11
@[_dqy121](/user/1267992) 可以的,我也踩过坑
by jiangyunuo @ 2024-01-29 19:51:20
怎么不可以?
by 20121028LRR @ 2024-01-29 19:52:27
@[jiangyunuo](/user/1061050) 啊?我怎么看那个公告说会封号?
by _dqy121 @ 2024-01-29 19:53:33
@[_dqy121](/user/1267992) 这里可以
by jiangyunuo @ 2024-01-29 19:56:16
@[_dqy121](/user/1267992) 把你每行最后多输出的空格删了试试?
by wzj0829 @ 2024-01-29 20:02:04
@[jiangyunuo](/user/1061050)
```
#include<iostream>
#include<iomanip>
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 _dqy121 @ 2024-01-29 20:02:34
@[wzj0829](/user/1028403)
我之前就是没打空格交的,错了才改成这样
by _dqy121 @ 2024-01-29 20:06:06
```
#include<iostream>
#include<iomanip>
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 jiangyunuo @ 2024-01-29 20:07:55