建议重学C++
by dontwannacry @ 2024-03-18 20:12:23
?
by User966827 @ 2024-03-18 20:19:53
@[Chenkezhen1234](/user/1311549) 就是要一行一行的输出,有几行你输出几行
by liangyujia45 @ 2024-03-18 20:26:56
说白了就是把样例复制后输出
上代码:
```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<<"########################################## ############";
return 0;
}
```
记得要换行
by hanyuhao2024 @ 2024-03-18 20:31:08
用PHP,直接复制就可以了
by sunny_town @ 2024-03-21 13:54:01
@[Chenkezhen1234](/user/1311549)
666
by zshs0712 @ 2024-03-22 20:18:48
无语
by ZHY182 @ 2024-03-30 10:50:44
@[hanyuhao2024](/user/1258229) 直接复制粘贴就行了
by Chenkezhen1234 @ 2024-04-13 14:07:16
@[Chenkezhen1234](/user/1311549)
蒟蒻刚学不会,谢谢大佬
by hanyuhao2024 @ 2024-04-13 16:41:06
有几个输出几个
by Cbr1 @ 2024-04-27 20:12:57