摘要: 源代码: #include<cstdio> int m,n,h[1001]={0}; bool f[1001][1001]={0}; const int maxint=1061109567; int main() { scanf("%d%d",&n,&m); for (int a=1;a<=m;a+ 阅读全文
posted @ 2016-01-08 22:04 【機關】 阅读(389) 评论(0) 推荐(0)
摘要: 源代码: #include<cstdio> #include<cstring> int m(1),n,k,i[1001],x[1001],y[1001],f[1001]; int main() { scanf("%d%d",&n,&k); for (int a=1;a<=n;a++) for (in 阅读全文
posted @ 2016-01-08 19:06 【機關】 阅读(612) 评论(0) 推荐(0)