In my icpc regionals they put this problem (link below), but no one came up with a correct solution that runs in time. Does anyone know a solution?
http://localdoc.scusa.lsu.edu/problems-regional/prb.php?prob=10
# | User | Rating |
---|---|---|
1 | tourist | 3857 |
2 | jiangly | 3747 |
3 | orzdevinwang | 3706 |
4 | jqdai0815 | 3682 |
5 | ksun48 | 3591 |
6 | gamegame | 3477 |
7 | Benq | 3468 |
8 | Radewoosh | 3463 |
9 | ecnerwala | 3451 |
10 | heuristica | 3431 |
# | User | Contrib. |
---|---|---|
1 | cry | 165 |
2 | -is-this-fft- | 161 |
3 | Qingyu | 160 |
4 | Dominater069 | 158 |
5 | atcoder_official | 157 |
6 | adamant | 155 |
7 | Um_nik | 151 |
8 | djm03178 | 150 |
8 | luogu_official | 150 |
10 | awoo | 148 |
Can this problem be solved?
In my icpc regionals they put this problem (link below), but no one came up with a correct solution that runs in time. Does anyone know a solution?
http://localdoc.scusa.lsu.edu/problems-regional/prb.php?prob=10
Rev. | Lang. | By | When | Δ | Comment | |
---|---|---|---|---|---|---|
en8 |
![]() |
PeterNaut | 2016-12-29 05:00:29 | 4 | Tiny change: 'hp?prob=10' -> 'hp?prob=10\n\n' | |
en7 |
![]() |
PeterNaut | 2016-12-21 11:26:30 | 1 | Tiny change: 'g answer. \n\nhttp:' -> 'g answer. \n\nhttp:' | |
en6 |
![]() |
PeterNaut | 2016-12-21 11:26:06 | 1 | Tiny change: 'ng answer.\n\nhttp:/' -> 'ng answer. \n\nhttp:/' | |
en5 |
![]() |
PeterNaut | 2016-12-20 07:37:32 | 2 | Tiny change: ' limit is 30 seconds.' -> ' limit is 60 seconds.' | |
en4 |
![]() |
PeterNaut | 2016-12-20 05:14:26 | 107 | ||
en3 |
![]() |
PeterNaut | 2016-12-20 05:11:24 | 43 | ||
en2 |
![]() |
PeterNaut | 2016-12-20 05:07:20 | 29 | Tiny change: ' solution?\n\nhttp:/' -> ' solution? The time limit is 30 seconds\n\nhttp:/' | |
en1 |
![]() |
PeterNaut | 2016-12-20 05:01:18 | 241 | Initial revision (published) |
Name |
---|