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

这个算法有没有错啊,怎么老是WA

Posted by Manio at 2006-11-01 13:51:56 on Problem 2361
             if( Xsize-Osize==0 ){
                  if( (iswinner(X) && !iswinner(O)) || (iswinner(X) && iswinner(O) ))pinvalid();
                  else pvalid();                
             }else if(Xsize-Osize==1){
                  if( (iswinner(O) && !iswinner(X)) || (iswinner(X) && iswinner(O) ))pinvalid();
                  else pvalid();
             }else pinvalid();

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