Online Judge | Problem Set | Authors | Online Contests | User | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest |
竟然没有感觉的过了.....一点建议....可以枚举一下A到Z的情况 for(i='A';i<='Z';i++) for(j=0;j<l;j++) if(key[j]==i) { for(k=0;k<c;k++) {plain[k][j]=code[p];p++;} } for(i=0;i<c;i++) for(j=0;j<l;j++) printf("%c",plain[i][j]); printf("\n"); } Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator