| # | User | Rating |
|---|---|---|
| 1 | Kevin114514 | 3722 |
| 2 | Benq | 3676 |
| 3 | jiangly | 3640 |
| 4 | turmax | 3450 |
| 5 | tourist | 3408 |
| 6 | strapple | 3360 |
| 7 | Um_nik | 3354 |
| 8 | squareOf105 | 3348 |
| 9 | maroonrk | 3196 |
| 10 | idontwannadothis…e | 3191 |
| # | User | Contrib. |
|---|---|---|
| 1 | maroonrk | 153 |
| 2 | Qingyu | 152 |
| 3 | nik_exists | 151 |
| 4 | AmShZ | 147 |
| 4 | maspy | 147 |
| 6 | Um_nik | 143 |
| 7 | Errichto | 139 |
| 8 | adamant | 136 |
| 9 | BledDest | 134 |
| 10 | AksLolCoding | 132 |
|
0
It seems sometimes people downvote just because the colour of your name isn't good enough! |
|
0
|
|
+6
Extra 10 minutes for 10k registrants :) |
|
+1
Am I the only one who is seeing random people turning red? |
|
0
they have all the colours, though |
|
0
better done than said. |
|
0
When you lock an answer and think to hack to jump up on the scoreboard, and you yourself get hacked. Crap :/ Never felt so helpless. |
|
+9
May the force code with you. |
|
0
Isn't anti hash map test there to avoid the same problem that I've stated above? |
|
0
Yes. But the sum-1 and sum+1 in case of many test cases can have a collision in their key values. And when there is too many collision and load factor that is current size/table size crosses 0.7 then a process called rehashing is performed in which size of the table is doubled. Which costs o(n) time complexity. So maybe due to repeated rehashing, it is giving TLE. |
|
-13
This can be explained by a single fact that Unordered_map is implemented using a hash table. In which a hash key is generated for the input and it is stored at the key location. Whereas in case of Ordered Map or map it is stored in a tree. So whenever same values are stored in an unordered_map then there will be a link list at the key. And it will take O(n) time to access a link list. Whereas in ordered_map it will always take O(log n) time. So, it is advisable to use unordered_map in case of unique elements only. |
|
On
vintage_Vlad_Makeev →
Codeforces Round 454 (and Technocup 2018 — Elimination Round 4), 9 years ago
+5
Think twice code once, you could have been red. |
|
On
vintage_Vlad_Makeev →
Codeforces Round 454 (and Technocup 2018 — Elimination Round 4), 9 years ago
+9
In comparison to other judges Codeforces has the simplest language. |
|
0
Can you explain it in a greater detail? |
|
0
For D, divide sum of pair which is to be found by 2.In case of even numbers on the pairs will be on both the sides of halved number. We only need to find the number of pairs. So this makes it even easier. |
|
0
Div2 B wow author is a bob Dylan fan :P |
|
0
can you elaborate the solution in a greater detail |
| Name |
|---|


