How to solve this problem?

Правка en1, от HiCode2009, 2022-10-30 18:07:42

https://codeforces.net/contest/4/submission/174376175

My code:Check if sumtime is in $$$[minsum,maxsum)$$$,minsum is the sum of all the $$$mintime$$$ and maxsum is the sum of all the $$$maxtime$$$.Then greedy for the solution.

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en2 Английский HiCode2009 2022-10-30 18:08:01 2 Tiny change: 'sum,maxsum)$,minsum i' -> 'sum,maxsum]$,minsum i'
en1 Английский HiCode2009 2022-10-30 18:07:42 243 Initial revision (published)