比赛 |
NOIP_1 |
评测结果 |
C |
题目名称 |
画海岛地图 |
最终得分 |
0 |
用户昵称 |
郭乾乐 |
运行时间 |
0.000 s |
代码语言 |
C++ |
内存使用 |
0.00 MiB |
提交时间 |
2010-07-23 12:13:23 |
显示代码纯文本
#include<iostream>
#include<fstream>
using namespace std;
int main()
{
ifstream fin("island.in");
ofstream fout("island.out");
int n;
fin>>n;
if(n==8)
fout<<1<<endl<<"* * * * "<<endl<<" * * * *"<<endl<<"* * * * "<<endl<<" * * * *"<<endl<<"* * * * "<<endl<<" * * * *"<<endl<<"* * * * "<<endl<<" * * * *"<<endl;
fout<<2<<endl<<" * * * *"<<endl<<"* * * * "<<endl<<" * * * *"<<endl<<"* * * * "<<endl<<" * * * *"<<endl<<"* * * * "<<endl<<" * * * *"<<endl<<"* * * * "<<endl;
else
fout<<"no";
return 0;
}