waynekay @ 2023-07-29 17:14:23
#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 Haber @ 2023-07-29 17:18:54
不行。
by cff_0102 @ 2023-07-29 17:20:09
你是不会提交代码吗
by H2ptimize @ 2023-07-29 17:23:10
@waynekay 输出第 6 行错了
by H2ptimize @ 2023-07-29 17:23:54
你是不会看测试点信息吗
by six_one @ 2023-07-29 17:33:22
@dpy_dog 他都写p1000了你在奢求他什么
by A_grass_block @ 2023-07-29 17:55:14
main的大括号结尾没有(编译时没有显示语法错误吗?)
by H2ptimize @ 2023-07-29 18:33:10
@A_grass_block 他最近的提交记录里有 },应该是复制漏掉了
by waynekay @ 2023-07-29 20:46:14
@dpy_dog 我就是复制题目里的输出,具体哪里有问题,能指点一下吗?
by Maggie2023 @ 2023-07-29 20:48:10
我也遇到了一样的问题
by waynekay @ 2023-07-29 20:58:19
成功
#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;
}