Online JudgeProblem SetAuthorsOnline ContestsUser
Web Board
Home Page
F.A.Qs
Statistical Charts
Problems
Submit Problem
Online Status
Prob.ID:
Register
Update your info
Authors ranklist
Current Contest
Past Contests
Scheduled Contests
Award Contest
User ID:
Password:
  Register

竟然没有感觉的过了.....一点建议....

Posted by yuech at 2009-06-08 00:49:52 on Problem 1617
可以枚举一下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:
User ID:
Password:
Title:

Content:

Home Page   Go Back  To top


All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator