zephy3657 @ 2024-01-29 22:36:39
#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 ICU152_QWQ_IS8 @ 2024-01-29 22:42:29
@zephy3657 检查亿遍
打错了
by ICU152_QWQ_IS8 @ 2024-01-29 22:42:56
虽然楼主看起来作为洛谷萌新可能表示愤慨,但调bug是这样的
by Zemu_Ooo @ 2024-01-29 22:52:42
@zephy3657 你第 8 行的金币位置,是不是多打了一行 “###”?
by zephy3657 @ 2024-01-29 23:30:41
怎么说
by zephy3657 @ 2024-01-29 23:31:14
@ISU152_YYDS 明明devC能跑起来啊为啥这里就不行啊
by ICU152_QWQ_IS8 @ 2024-01-29 23:42:30
@zephy3657 检查
不是说你看着一样就是一样的
by Kmeow @ 2024-02-05 21:34:07
用PHP直接复制就行
by Stock_1019 @ 2024-02-06 19:28:03
还有最后一行不需要“endl”
by 1930_ @ 2024-03-10 10:10:13
最后一行不需要"endl"
by aochiao @ 2024-05-01 17:32:20
@zephy3657 你多了一个\n,代码:
#include<bits/stdc++.h>
using namespace std;
int main(){
printf(" ********\n");
printf(" ************\n");
printf(" ####....#.\n");
printf(" #..###.....##....\n");
printf(" ###.......###### ### ###\n");
printf(" ........... #...# #...#\n");
printf(" ##*####### #.#.# #.#.#\n");
printf(" ####*******###### #.#.# #.#.#\n");
printf(" ...#***.****.*###.... #...# #...#\n");
printf(" ....**********##..... ### ###\n");
printf(" ....**** *****....\n");
printf(" #### ####\n");
printf(" ###### ######\n");
printf("##############################################################\n");
printf("#...#......#.##...#......#.##...#......#.##------------------#\n");
printf("###########################################------------------#\n");
printf("#..#....#....##..#....#....##..#....#....#####################\n");
printf("########################################## #----------#\n");
printf("#.....#......##.....#......##.....#......# #----------#\n");
printf("########################################## #----------#\n");
printf("#.#..#....#..##.#..#....#..##.#..#....#..# #----------#\n");
printf("########################################## ############\n");
return 0;
}