Happy 15th birthday to PEIMUDA, wish she win another div1 and reach the LGM!
№ | Пользователь | Рейтинг |
---|---|---|
1 | tourist | 4009 |
2 | jiangly | 3823 |
3 | Benq | 3738 |
4 | Radewoosh | 3633 |
5 | jqdai0815 | 3620 |
6 | orzdevinwang | 3529 |
7 | ecnerwala | 3446 |
8 | Um_nik | 3396 |
9 | ksun48 | 3390 |
10 | gamegame | 3386 |
Страны | Города | Организации | Всё → |
№ | Пользователь | Вклад |
---|---|---|
1 | cry | 167 |
2 | Um_nik | 163 |
3 | maomao90 | 162 |
3 | atcoder_official | 162 |
5 | adamant | 159 |
6 | -is-this-fft- | 158 |
7 | awoo | 157 |
8 | TheScrasse | 154 |
9 | Dominater069 | 153 |
9 | nor | 153 |
Happy 15th birthday to PEIMUDA, wish she win another div1 and reach the LGM!
In this problem, we need to calculate the shortest path from an origin in a graph with up to $$$10^5$$$ nodes.
The real solution is using dijkstra and priority queue.
But some participants used spfa which can be $$$O(n^2)$$$ in some special datas Like this submission.
Our IOI aker PEIMUDA made two datas
1000000000000000000
24999 99999 25000
1000000000000000000
33332 99998 33333
The answers are
999999999687537499
999999999444505554
They can make the submisssion run up to 5 seconds.
The A&B&C three problems are not hard at all, but it still takes me 47 minutes to solve them.
The D&E&F three problems are really hard to solve.
It seems that from ranking 50 to ranking 900 are all contestants who solves three problems, it just depends on how fast they do it.
There are also past ARC's that contains easy A&B&C, but extremely hard D&E&F which, for me, are impossible to do.
Название |
---|