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 054100532 at 2008-10-26 23:02:57
In Reply To:可能是最后多了空格之类的,我们是在最后时刻改了下输入而AC了 Posted by:054100532 at 2008-10-26 23:00:57
while( scanf("%d%d", &n, &m) != EOF && ( n || m ))
{
for( i=0; i<n; i++ )
{
   scanf("%*c");
   for( j=0; j<m; j++ )
     scanf("%c", &tab[i][j]);
}
}

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