www.pudn.com > zju_1000_1010.rar > 1009.CPP
//1009.cpp #include#include struct line{ int from,to; }; line state[3][26]; line st[3][26]; void change(int i,int j){ for(int temp=0;temp >n; int amount=0; while(n!=0){ char str[3][30]; amount++; if(amount!=1) cout< >str[0]>>str[1]>>str[2]; int i;int j; for(j=0;j<3;j++) for(i=0;i >m; for(i=1;i<=m;i++){ for(int tt=0;tt<3;tt++) for(int qq=0;qq >ch; int len=strlen(ch); int first=0,second=0; for(j=0;j >n; } return 0; }