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 |
Re:这题的范围有问题吗? 为什么我在读入的地方老是RE 请看下面: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: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator