Problem A - Acing the contest
 
 
 
 
Contest status
 
 
# When Who Problem Lang Verdict Time Memory
325584678 Jun/22/2025 17:39 MMO A - Acing the contest C++17 (GCC 7-32) Accepted 312 ms 0 KB
101442636 Dec/16/2020 18:44 brunomont A - Acing the contest C++17 (GCC 9-64) Accepted 577 ms 41700 KB
168407867 Aug/15/2022 18:07 Terry proved the wrong solution: Sarah_montasser, Maram, Rania# A - Acing the contest C++17 (GCC 9-64) Accepted 530 ms 40900 KB
103919660 Jan/10/2021 01:13 KondZhiLa: kokosha, bill_kondo, VLamarca# A - Acing the contest C++17 (GCC 7-32) Accepted 935 ms 97900 KB
103681647 Jan/08/2021 06:55 DOngPH19 A - Acing the contest C++17 (GCC 7-32) Accepted 514 ms 5000 KB
172896092 Sep/21/2022 06:09 Easy cake: Wolke, Mnesy, Amir_# A - Acing the contest C++17 (GCC 7-32) Accepted 951 ms 252500 KB
198975841 Mar/24/2023 19:34 PedroGallo A - Acing the contest C++17 (GCC 7-32) Accepted 998 ms 81800 KB
110754216 Mar/22/2021 19:26 vjudge3 A - Acing the contest C++17 (GCC 7-32) Accepted 904 ms 95300 KB
207675953 May/28/2023 21:26 Sarinha A - Acing the contest C++17 (GCC 7-32) Accepted 451 ms 88400 KB
266336241 Jun/18/2024 18:26 Ayman_ A - Acing the contest C++20 (GCC 13-64) Accepted 530 ms 88500 KB
144891752 Feb/02/2022 04:45 _seahorse A - Acing the contest C++17 (GCC 7-32) Accepted 46 ms 5000 KB
109325493 Mar/07/2021 13:07 Corsimy666# A - Acing the contest C++17 (GCC 7-32) Accepted 62 ms 8600 KB
372999463 Apr/30/2026 01:50 pikiblainder A - Acing the contest C++17 (GCC 7-32) Accepted 812 ms 81800 KB
110008092 Mar/15/2021 07:36 vjudge4 A - Acing the contest GNU C++11 Accepted 156 ms 88400 KB
104231334 Jan/14/2021 02:05 jevolando a java: fakhoury, fredbr# A - Acing the contest C++17 (GCC 9-64) Accepted 109 ms 9100 KB
130281379 Sep/29/2021 18:32 Adam_pxx A - Acing the contest C++17 (GCC 7-32) Accepted 93 ms 13400 KB
130281422 Sep/29/2021 18:32 Adam_pxx A - Acing the contest C++17 (GCC 7-32) Accepted 108 ms 13400 KB
164955949 Jul/20/2022 05:04 IsaacMoris# A - Acing the contest C++17 (GCC 7-32) Accepted 545 ms 42600 KB
114809462 May/02/2021 01:10 Berland State U: Geo_Ghaffar, Eid_Ham00, LastDance_NotLastOfMe# A - Acing the contest GNU C++11 Accepted 389 ms 49400 KB
168689915 Aug/17/2022 14:31 abdelrahman001 A - Acing the contest C++14 (GCC 6-32) Accepted 389 ms 44200 KB
127824364 Sep/04/2021 11:40 Uanogcdp# A - Acing the contest C++17 (GCC 7-32) Accepted 639 ms 47800 KB
172404163 Sep/17/2022 03:05 Ahmed_Salah7# A - Acing the contest C++17 (GCC 7-32) Accepted 311 ms 41700 KB
371553086 Apr/17/2026 21:25 miguel_ag315 A - Acing the contest C++17 (GCC 7-32) Accepted 515 ms 41000 KB
248085062 Feb/24/2024 13:56 BallzCrasher A - Acing the contest C++20 (GCC 11-64) Accepted 140 ms 900 KB
122918080 Jul/18/2021 13:19 RyoJeenSW A - Acing the contest C++17 (GCC 7-32) Accepted 187 ms 52200 KB
288773256 Oct/29/2024 19:48 vjudge1 A - Acing the contest C++20 (GCC 13-64) Accepted 421 ms 44300 KB
370605360 Apr/11/2026 01:54 [UDESC] Type Shift: bras, majinaru, ZeppZeppelin# A - Acing the contest C++23 (GCC 14-64, msys2) Accepted 750 ms 42100 KB
181116388 Nov/15/2022 19:30 estoesunuser A - Acing the contest C++20 (GCC 11-64) Accepted 467 ms 86500 KB
181136560 Nov/15/2022 23:15 juanki# A - Acing the contest C++20 (GCC 11-64) Accepted 467 ms 86500 KB
256576887 Apr/14/2024 03:24 vjudge.4 A - Acing the contest C++17 (GCC 7-32) Accepted 515 ms 163700 KB
142310333 Jan/11/2022 00:36 Balwenitas: Balwenitas, angelo_torres, NRolly# A - Acing the contest C++20 (GCC 11-64) Accepted 78 ms 9400 KB
165464391 Jul/23/2022 22:54 Generic Placeholder: Yehia_Edris, nondeterministic, AmirMoris# A - Acing the contest C++17 (GCC 7-32) Accepted 420 ms 44400 KB
266180552 Jun/17/2024 15:04 Chinese_ A - Acing the contest C++20 (GCC 13-64) Accepted 593 ms 48400 KB
207296448 May/26/2023 04:59 schmosby# A - Acing the contest C++17 (GCC 7-32) Accepted 389 ms 44200 KB
264062128 Jun/04/2024 01:27 zedanov A - Acing the contest C++20 (GCC 13-64) Accepted 687 ms 88500 KB
114968088 May/02/2021 23:27 Balãozinho: gustavo_m32, DangeloSs, nathan_luiz# A - Acing the contest C++17 (GCC 7-32) Accepted 451 ms 48600 KB
116996149 May/22/2021 11:59 vjudge1 A - Acing the contest C++14 (GCC 6-32) Accepted 155 ms 43800 KB
179475860 Nov/06/2022 00:15 brandonzhang# A - Acing the contest C++17 (GCC 9-64) Accepted 857 ms 252200 KB
269075364 Jul/06/2024 16:06 Negm A - Acing the contest C++20 (GCC 13-64) Accepted 671 ms 88400 KB
116996098 May/22/2021 11:58 Von. A - Acing the contest C++14 (GCC 6-32) Accepted 187 ms 43800 KB
256226957 Apr/12/2024 13:18 vjudge.7 A - Acing the contest C++17 (GCC 7-32) Accepted 108 ms 5700 KB
264062119 Jun/04/2024 01:27 vjudge.8 A - Acing the contest C++20 (GCC 13-64) Accepted 811 ms 88500 KB
163680652 Jul/11/2022 16:52 Basharo A - Acing the contest C++14 (GCC 6-32) Accepted 405 ms 40900 KB
202438746 Apr/17/2023 07:24 AlexJzG A - Acing the contest C++20 (GCC 11-64) Accepted 421 ms 81800 KB
180012918 Nov/07/2022 22:54 brandonzhang A - Acing the contest C++17 (GCC 9-64) Accepted 624 ms 5300 KB
277934939 Aug/24/2024 18:34 المتهالك المتخاذل المنتهي: KareemEssam# A - Acing the contest C++20 (GCC 13-64) Accepted 765 ms 88500 KB
328971225 Jul/15/2025 01:34 Znno A - Acing the contest C++20 (GCC 13-64) Accepted 608 ms 40500 KB
209909265 Jun/17/2023 02:36 aitraining407 A - Acing the contest C++20 (GCC 11-64) Accepted 373 ms 81800 KB
160181143 Jun/11/2022 12:12 NEDO# A - Acing the contest C++17 (GCC 9-64) Accepted 608 ms 40500 KB
101796678 Dec/19/2020 21:25 Batroid A - Acing the contest GNU C++11 Accepted 546 ms 44400 KB
Sort by: