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:弱弱的汗一下这个莫名其妙的题

Posted by judas at 2007-01-14 21:36:43 on Problem 2366
In Reply To:弱弱的汗一下这个莫名其妙的题 Posted by:bool at 2007-01-14 20:57:04
> 改了一处就从wa到ac:
> 
> 原来的:
> while( n-- )
> 	{
>                   *************
> 		if( *******  )//找到
> 		{
> 			printf("YES\n");
> 			break;
> 		}
> 	}
> if( 0==n )
> 	printf("NO\n");
> 
> 改了:
> while( n-- )
> 	{
>                   *************
> 		if( *******  )//找到
> 		{
> 			printf("YES\n");
>                          tag=1;
> 			break;
> 		}
> 	}
> if( tag!=1 )
> 	printf("NO\n");

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