| # | User | Rating |
|---|---|---|
| 1 | Benq | 3792 |
| 2 | VivaciousAubergine | 3647 |
| 3 | Kevin114514 | 3603 |
| 4 | jiangly | 3583 |
| 5 | strapple | 3515 |
| 6 | tourist | 3470 |
| 7 | dXqwq | 3436 |
| 8 | Radewoosh | 3415 |
| 9 | Otomachi_Una | 3413 |
| 10 | Um_nik | 3376 |
| # | User | Contrib. |
|---|---|---|
| 1 | Qingyu | 158 |
| 2 | adamant | 152 |
| 3 | Proof_by_QED | 146 |
| 3 | Um_nik | 146 |
| 5 | Dominater069 | 144 |
| 6 | errorgorn | 141 |
| 7 | cry | 139 |
| 8 | YuukiS | 135 |
| 9 | chromate00 | 134 |
| 9 | TheScrasse | 134 |
|
0
Actually, it's not O(n) as the size of the string gets larger so fast, it can reach 1e18, i.e. max K, within ~53 iteration, any farther computations are useless! so I think that each query complexity is just O(min(log(k), n)) |
|
0
I solved it using Meet in the middle + Binary search Split the n numbers to 2 sets, find all the possible subset sums for every set, that can be done in O(2^(N/2)) for each set sort one of them and iterate over the other set, for every element, binary search for the value that gives the max value % m |
|
+25
How to solve Div 1 C ? |
|
+3
I can't understand why all those downvotes there is always a possiblity for such a situation and the testers & the problem setter described that they did their best. I think we can understand the situation more wisely .. |
|
+18
Delay, delay everywhere
|
|
+64
THIS IS RIDICULOUS!! Most contestants are complaining that problem A Div.1 is repeated with the same statement and the same author & problem B Div.1 can be googled easily and all we can get is IGNORANCE.. I downvoted the contest, it should be UNRATED!! |
|
+44
Div.1 A I wonder how many people could google this http://www.spoj.com/problems/TENNIS1/ during the round.... -_- |
|
+12
Actually, the national contest (ECPC) costs 75$ for participating only.. No accommodation nor transportation included!! |
|
+19
Will the editorials be published? |
|
0
Dynamic Programming on prefix sum array check this: http://mirror.codeforces.com/contest/731/submission/21488865 |
|
+7
Getting WA after about 45 minutes!! I only took a minute to debug my code ... of course not that long That really kills :v :3 |
| Name |
|---|


