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

small trick

Posted by IceKingdom at 2008-10-10 14:14:11 on Problem 2260
  count=0;
      for(i=1;i<=n;i++)
       for(j=1;j<=n;j++)
        if((b[i]&1)&&(c[j]&1)) { count++; x=i; y=j; }
b,c:行列的奇偶性
count==1 change
else corrupt

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