Please subscribe to the official Codeforces channel in Telegram via the link https://t.me/codeforces_official. ×

Problem H - Berland Prospect
 
 
 
 
Contest status
 
 
# When Who Problem Lang Verdict Time Memory
372777736 Apr/28/2026 09:50 Dreamin bubbleorz^~^: Pixeleston, Crbubble# H - Berland Prospect C++23 (GCC 14-64, msys2) Accepted 343 ms 8900 KB
62678728 Oct/16/2019 15:12 vjudge3 H - Berland Prospect C++17 (GCC 7-32) Accepted 1949 ms 38600 KB
83554438 Jun/12/2020 21:20 curly_braces H - Berland Prospect C++17 (GCC 9-64) Accepted 733 ms 248900 KB
60912624 Sep/20/2019 09:40 usachevd0# H - Berland Prospect C++14 (GCC 6-32) Accepted 1996 ms 176600 KB
61782109 Oct/03/2019 16:29 NP_Tran: hiThere23, TranLeHiep, U_U# H - Berland Prospect C++14 (GCC 6-32) Accepted 78 ms 35400 KB
90866157 Aug/25/2020 07:04 vjudge3 H - Berland Prospect C++17 (GCC 9-64) Accepted 186 ms 35500 KB
331962176 Aug/01/2025 16:34 jeroenodb# H - Berland Prospect C++20 (GCC 13-64) Accepted 93 ms 35300 KB
76054987 Apr/10/2020 07:42 CiroR H - Berland Prospect C++14 (GCC 6-32) Accepted 1201 ms 800 KB
87191931 Jul/18/2020 06:23 SCLchuck H - Berland Prospect GNU C++11 Accepted 218 ms 74300 KB
62454223 Oct/13/2019 08:44 ManasG# H - Berland Prospect C++17 (GCC 7-32) Accepted 202 ms 70700 KB
269417528 Jul/08/2024 15:32 kenzhik H - Berland Prospect C++17 (GCC 7-32) Accepted 155 ms 70600 KB
60843780 Sep/19/2019 14:53 hrustim25 H - Berland Prospect C++17 (GCC 7-32) Accepted 1996 ms 323400 KB
91954205 Sep/05/2020 18:45 xhgybbybz H - Berland Prospect C++17 (GCC 9-64) Accepted 218 ms 100 KB
62201936 Oct/09/2019 15:18 _LeMur_# H - Berland Prospect C++14 (GCC 6-32) Accepted 155 ms 35700 KB
241688538 Jan/15/2024 15:22 felps4ntiago H - Berland Prospect C++20 (GCC 11-64) Accepted 358 ms 0 KB
241698266 Jan/15/2024 16:44 Nillindo H - Berland Prospect C++17 (GCC 7-32) Accepted 483 ms 0 KB
258268286 Apr/26/2024 20:09 vjudge.9 H - Berland Prospect C++20 (GCC 13-64) Accepted 217 ms 35500 KB
90900050 Aug/25/2020 15:45 vjudge3 H - Berland Prospect C++14 (GCC 6-32) Accepted 187 ms 35500 KB
76055238 Apr/10/2020 07:48 CiroR H - Berland Prospect C++14 (GCC 6-32) Accepted 1232 ms 800 KB
241688483 Jan/15/2024 15:21 felps4ntiago H - Berland Prospect C++20 (GCC 11-64) Accepted 1622 ms 0 KB
62678630 Oct/16/2019 15:10 vjudge1 H - Berland Prospect C++17 (GCC 7-32) Accepted 217 ms 38600 KB
91760441 Sep/04/2020 06:20 mmm. H - Berland Prospect C++14 (GCC 6-32) Accepted 187 ms 35500 KB
125112484 Aug/07/2021 09:43 Hari_1600 H - Berland Prospect C++17 (GCC 7-32) Accepted 187 ms 39100 KB
232439403 Nov/12/2023 01:50 giraffe falls near the tree: ThirteenFrames, edp446, ritakura1# H - Berland Prospect C++20 (GCC 11-64) Accepted 249 ms 8800 KB
126268574 Aug/18/2021 16:07 yizhiyezi H - Berland Prospect C++17 (GCC 7-32) Accepted 202 ms 39100 KB
61289203 Sep/25/2019 22:47 UH_RELOADED: hectoradrian_UH, andresXL, AlainCartaya# H - Berland Prospect C++14 (GCC 6-32) Accepted 155 ms 35700 KB
60819402 Sep/19/2019 01:37 CtrlAlt H - Berland Prospect MS C++ 2017 Accepted 187 ms 9000 KB
88045608 Jul/26/2020 13:00 Sovetskiy Soyuz: HCPS42, sstrong# H - Berland Prospect C++17 (GCC 9-64) Accepted 140 ms 39700 KB
62212193 Oct/09/2019 17:50 hamlet# H - Berland Prospect C++14 (GCC 6-32) Accepted 1372 ms 169100 KB
61421197 Sep/28/2019 14:48 Evil geniuses: smitpatel1010, bhavyashah9873, sd21# H - Berland Prospect C++14 (GCC 6-32) Accepted 234 ms 70700 KB
62846492 Oct/18/2019 08:35 Problem I is the easiest one: SingleZombie, zhanggengchen, xzm2024# H - Berland Prospect C++14 (GCC 6-32) Accepted 202 ms 8900 KB
343645469 Oct/14/2025 08:54 kik0s enjoyers: XTray_, Black_Siemens, Manaeff.Ivan# H - Berland Prospect C++20 (GCC 13-64) Accepted 1999 ms 203000 KB
62877689 Oct/18/2019 18:49 быстрее nlog нельзя: AlesyaIvanova, polinarria# H - Berland Prospect C++14 (GCC 6-32) Accepted 78 ms 70700 KB
126243937 Aug/18/2021 11:10 vjudge3 H - Berland Prospect C++17 (GCC 7-32) Accepted 202 ms 39100 KB
76055267 Apr/10/2020 07:49 CiroR H - Berland Prospect C++14 (GCC 6-32) Accepted 1138 ms 800 KB
182397743 Nov/24/2022 22:18 n685 H - Berland Prospect C++20 (GCC 11-64) Accepted 1933 ms 99600 KB
207903844 May/31/2023 00:26 Alexbrii# H - Berland Prospect C++20 (GCC 11-64) Accepted 1575 ms 282300 KB
192391818 Feb/05/2023 23:15 NTT: Plato, AshrafYousry# H - Berland Prospect C++20 (GCC 11-64) Accepted 1716 ms 197300 KB
258247409 Apr/26/2024 17:27 vjudge2 H - Berland Prospect C++17 (GCC 7-32) Accepted 812 ms 141900 KB
284814513 Oct/07/2024 19:31 GrigorenkoNA H - Berland Prospect C++20 (GCC 13-64) Accepted 1843 ms 100 KB
72482135 Mar/05/2020 05:36 pulsatio H - Berland Prospect C++17 (GCC 7-32) Accepted 638 ms 106000 KB
169428304 Aug/23/2022 17:24 vjudge3 H - Berland Prospect C++20 (GCC 11-64) Accepted 295 ms 70900 KB
68477283 Jan/10/2020 09:11 vjudge1 H - Berland Prospect C++14 (GCC 6-32) Accepted 1138 ms 88500 KB
91921221 Sep/05/2020 11:16 vjudge2 H - Berland Prospect C++14 (GCC 6-32) Accepted 280 ms 0 KB
258247302 Apr/26/2024 17:27 One Tangloong Please: DZYCD, Lcaokai, walili# H - Berland Prospect C++17 (GCC 7-32) Accepted 812 ms 141900 KB
258250502 Apr/26/2024 17:51 DZYCD H - Berland Prospect C++17 (GCC 7-32) Accepted 812 ms 141900 KB
134584028 Nov/07/2021 16:21 Agreb# H - Berland Prospect C++17 (GCC 7-32) Accepted 62 ms 36500 KB
60761047 Sep/18/2019 13:14 a.nogikh H - Berland Prospect MS C++ 2017 Accepted 1357 ms 195000 KB
205322574 May/10/2023 14:55 AbdulazizMohamed H - Berland Prospect C++20 (GCC 11-64) Accepted 218 ms 70900 KB
341855519 Oct/04/2025 16:22 VS-OS: bekodeg, maxK99, Oleja123# H - Berland Prospect C++23 (GCC 14-64, msys2) Accepted 984 ms 100 KB
Sort by: