does anybody know what the problem with this code? (runtime error!!) Your text to link here...
does anybody know what the problem with this code? (runtime error!!) Your text to link here...
| # | User | Rating |
|---|---|---|
| 1 | Benq | 3792 |
| 2 | VivaciousAubergine | 3647 |
| 3 | Kevin114514 | 3603 |
| 4 | jiangly | 3583 |
| 5 | turmax | 3559 |
| 6 | tourist | 3541 |
| 7 | strapple | 3515 |
| 8 | ksun48 | 3461 |
| 9 | dXqwq | 3436 |
| 10 | Otomachi_Una | 3413 |
| # | User | Contrib. |
|---|---|---|
| 1 | Qingyu | 157 |
| 2 | adamant | 153 |
| 3 | Um_nik | 147 |
| 3 | Proof_by_QED | 147 |
| 5 | Dominater069 | 145 |
| 6 | errorgorn | 142 |
| 7 | cry | 139 |
| 8 | YuukiS | 135 |
| 9 | TheScrasse | 134 |
| 10 | chromate00 | 133 |
| Name |
|---|



Auto comment: topic has been updated by Sederam (previous revision, new revision, compare).
https://mirror.codeforces.com/blog/entry/70237
Your comparator function
cmpcurrently returnstrueif the two elements to be compared are equal. C++ requires you to have comparators returnfalsefor equal elements. You just need to replace $$$\le$$$ with $$$ \lt $$$ to fix the RTE.Fixing this gives WA2.
thanks!!