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

Re:这题的范围有问题吗? 为什么我在读入的地方老是RE 请看下面:

Posted by 00130004 at 2003-11-07 09:39:09 on Problem 1507
In Reply To:这题的范围有问题吗? 为什么我在读入的地方老是RE 请看下面: Posted by:rruucc at 2003-11-07 08:48:04
> void init()
> { int i,j,k,x,y,z,tmp;
>  scanf("%d",&n); l=n*n*n; //if (n>111) return; 把这个加上就不会了
>  for (i=0; i<n; i++)
>   for (j=0; j<n; j++)
>    for (k=0; k<n; k++)
>     {scanf("%d",&tmp); map[k][j][i]=integer(tmp);
>      if (map[k][j][i]==0) {x=i; y=j; k=z;}
                                      ~~~~~是z=k吧。
>     }
> /*

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