| # | User | Rating |
|---|---|---|
| 1 | Benq | 3792 |
| 2 | VivaciousAubergine | 3647 |
| 3 | Kevin114514 | 3611 |
| 4 | jiangly | 3583 |
| 5 | strapple | 3515 |
| 6 | tourist | 3470 |
| 7 | Radewoosh | 3415 |
| 8 | Um_nik | 3376 |
| 9 | maroonrk | 3361 |
| 10 | XVIII | 3345 |
| # | User | Contrib. |
|---|---|---|
| 1 | Qingyu | 162 |
| 2 | adamant | 148 |
| 3 | Um_nik | 145 |
| 4 | Dominater069 | 143 |
| 5 | errorgorn | 141 |
| 6 | cry | 138 |
| 7 | Proof_by_QED | 135 |
| 7 | YuukiS | 135 |
| 9 | chromate00 | 134 |
| 10 | soullless | 132 |
|
+23
|
|
0
Because worst case time complexity for unordered map is in order of n. |
|
+3
Because worst case time complexity of unordered map in order of n . Solve it by using map |
|
0
Use map instead and then try your luck |
|
0
In F , I used the brute force concept and my run time complexity was O(n^3*m^2). How to solve it with larger constraints ? |
|
0
i don't think that there will be much system failures . Pretest almost cover the test cases set. |
|
On
cdkrot →
Codeforces Round #567 (based on All-Russian olympiad in the name of Keldysh), 7 years ago
0
Rain may affect the later part of the game. The match will start at the usual time without any interruption. |
|
+29
Seeing the score distribution , i guess it is (speed + implementation) contest. |
|
0
maybe due to the use of remove function. I was doing the same at first attempt . |
|
0
Finally updated correctly |
|
0
Hey .. I was ranked 28 on the leaderboard and a 2nd year college student in India . Am I eligible of getting topcoder t-shirt .. do I have a chance to attend the finals too as I am from Jaipur only.. |
|
0
Suppose you got 10 segments of 0's and k=3. Now pick segment {1,2,3} first then {2,3,4} then {3,4,5} and so on and calculate the maximum length subsegment of 1's. This is the optimal way to do it. |
|
0
It was a good implementation question. I stored all the segments of consecutive 0's in an vector and after doing this iteratively pick consecutive k segments of 0's and make them 1 and then check the answer . this is a greedy approach for this. Link to my submission https://atcoder.jp/contests/abc124/submissions/4954185 Hope it helps |
|
On
cdkrot →
Codeforces Round #545 (Div.1, Div.2, based on Moscow Open Olympiad in Informatics), 7 years ago
0
Thanks .. got it now |
|
On
cdkrot →
Codeforces Round #545 (Div.1, Div.2, based on Moscow Open Olympiad in Informatics), 7 years ago
0
can anybody help me in knowing why my solution to div2 d is giving wrong answer on pretest 6. sol link : https://mirror.codeforces.com/contest/1138/submission/51026146 Thanks in advance |
|
On
FalseMirror →
Codeforces Round #483 [Thanks, Botan Investments and Victor Shaburov!] Editoral, 8 years ago
0
In div2 B in some test cases input says 100 n and 100 m but the input given was 5 n and varying m . My code is giving wrong answers on those types of cases. Please look upon it. |
| Name |
|---|


