摘要:
#include "stdio.h"#include "string.h"int main(){ int n,cas,i,j,p[25],w[25],right,left,temp,cnt; char s[100]; scanf("%d",&cas); while(cas--... 阅读全文
posted @ 2015-01-28 15:31
xryz
阅读(113)
评论(0)
推荐(0)
摘要:
#include "stdio.h"int map[5][5],max,n;//map输入的地图,max最大碉堡数,n地图大小bool set(int x,int y)//判断是否可以放置碉堡,只考虑当前空格左上角的情况{ int i; for(i=x-1; i>=0; i--) ... 阅读全文
posted @ 2015-01-28 10:48
xryz
阅读(112)
评论(0)
推荐(0)