ThereIsNoSalvationForMe's blog

By ThereIsNoSalvationForMe, history, 10 years ago, In English
Tags gym
»
10 years ago, hide # |
Rev. 3  
Vote: I like it +10 Vote: I do not like it

1) sort by T1P1 + (T1+T2)P2 < T2P2 + (T1+T2)P1
2) maximize dp[time][problemPosition] — pair<double, double> = (EP, -ET)