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

我的程序的选段,我都很无语,实在没办法了……

Posted by lqp18_31 at 2009-08-04 14:21:10 on Problem 1084 and last updated at 2009-08-04 14:21:41
    while( T-- ){
           fscanf( fin ,"%d%d",&N,&K);
           memset( del , 0 , sizeof del );    
           for( int i=1 ; i<=K;  i++) {fscanf( fin , "%d",&t) , del[ t ]=1;}
           if( del[ 1 ]&&del[ 40 ] ) { cout << 8<< endl; continue; } //  这句话-_-|||
           head.u=head.d=head.l=head.r=&head;  

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