| # | 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
(Ra ,Ca) position of A. Your idea seems correct but i will once more clear it up. when doing BFS from A calculate the minimum distance from (Ra , Ca) to cell(r , c). Then check if it is possible to go to cell (r , c) , until hitting one of the borders , then if we are on a border then the answer is yes , if not then try different path. i did it by doing DFS. I'm i bit lazy to check your code but i will share mine https://ideone.com/jgR1tm |
|
On
FalseMirror →
Codeforces Round #483 [Thanks, Botan Investments and Victor Shaburov!] Editoral, 6 years ago
0
in 983D when i input : 2 1 2 5 6 1 2 3 5 it outputs 3, but it should output 2. why does it output 3? |
|
0
Can someone explain why does the dfs order work in problem D(div1) |
| Name |
|---|


