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 NEU_20113292 at 2013-02-09 10:08:32 on Problem 3071
怎样安排模拟真是神处理
if( ((k>>(i-1))^1) == j>>(i-1) )//神处理
      {
                        //每队只和其在当轮相邻的队伍进行比赛
                        //第一轮00和01可以比赛,01和10就不可以比赛(因为分组不同,见题意)
                        //第二轮00x和01x进行比赛
                        //etc...
                        dp[i][j]+=dp[i-1][j]*dp[i-1][k]*win[j][k];
                    }

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