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:弱弱的汗一下这个莫名其妙的题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: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator