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 |
的确有组数据有点问题,没有Z,两个都是zIn Reply To:不可能呀 Posted by:lympanda at 2005-02-27 17:17:52 > 我的程序这么读的,后面的注释加上就是TLE,不加就是wa...... > x3=-1;x2=-1; > for (i=0;i<5;i++) > for (j=0;j<5;j++) > { > fin>>a[i][j]; > if (a[i][j]=='M') > { > x1=i*5+j; > } > if (a[i][j]=='Z') > { > x2=i*5+j; > } > if (a[i][j]=='z') > { > x3=i*5+j; > } > } > // if ((x3==-1)||(x2==-1)) > // for (i=0;i<100000;i++) > // for (j=0;j<100000;j++); Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator