2011年7月29日
摘要: #include <cstdio>#include <cstring>int n,m;double dis[31][31],rate;char name[31][30],name1[30],name2[30];int getpos(char *s){ int i; for(i=1;i<=n;i++) { if(strcmp(s,name[i])==0) { return i; } } return 0;}int main(){ int i,j,k,casenum = 0; while(scanf("%d",&n),n!=0) { cas 阅读全文
posted @ 2011-07-29 13:53 NKHe!!oWor!d 阅读(122) 评论(0) 推荐(0) 编辑