摘要:
#include#include#include#includeusing namespace std;typedef int State[9];const int MAXSTATE=1000000;State st[MAXSTATE],goal;//int dist[MAXSTATE];int v... 阅读全文
摘要:
#include#include#include#include#includeusing namespace std;int main(){ int a,b,x; while(scanf("%d%d",&a,&b)!=EOF) { if(ab) ans++; if(c... 阅读全文
摘要:
#include#include#include#includeusing namespace std;int num[1100];int main(){ int n,k,l,r,sa,sk; int ver,yu,add,sla; int i,j; while(scanf(... 阅读全文
摘要:
#include#include#include#includeusing namespace std;int bowl,plate;int n;int dish[1100];int main(){ int i,j; while(scanf("%d%d%d",&n,&bowl,&plat... 阅读全文
摘要:
#include#include#include#include#includeusing namespace std;char mat[10][10];int vis[10][10];int ok,dx,dy;int m,n,d;int op[4][2]={0,1,1,0,0,-1,-1,0};b... 阅读全文