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

这个......我这里有数据,您要不要看一下?(我不知道POJ是不是加了新的数据)

Posted by TN at 2005-02-27 17:20:02 on Problem 2237
In 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:
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