Please subscribe to the official Codeforces channel in Telegram via the link https://t.me/codeforces_official. ×
Problem A - Modulo Ruins the Legend
 
 
 
 
Contest status
 
 
# When Who Problem Lang Verdict Time Memory
287513457 Oct/23/2024 15:30 Submit!: Ke_scholar, IR101, ptlks# A - Modulo Ruins the Legend C++20 (GCC 13-64) Accepted 77 ms 31400 KB
354691557 Dec/23/2025 16:11 darling.02 A - Modulo Ruins the Legend C++23 (GCC 14-64, msys2) Accepted 46 ms 0 KB
247519893 Feb/20/2024 20:49 Ormlis# A - Modulo Ruins the Legend C++20 (GCC 11-64) Accepted 31 ms 0 KB
292699952 Nov/22/2024 05:29 where are our answer sheets: dracokris, ReginaWan, my_happiness# A - Modulo Ruins the Legend C++23 (GCC 14-64, msys2) Accepted 78 ms 0 KB
255448343 Apr/07/2024 12:16 DinosaurSlayer A - Modulo Ruins the Legend C++20 (GCC 13-64) Accepted 77 ms 0 KB
332534496 Aug/05/2025 19:22 ssldft A - Modulo Ruins the Legend C++23 (GCC 14-64, msys2) Accepted 62 ms 100 KB
184430415 Dec/09/2022 10:28 Paranoid-LS# A - Modulo Ruins the Legend C++17 (GCC 9-64) Accepted 187 ms 0 KB
234921702 Nov/29/2023 14:59 A-SOUL__AvA A - Modulo Ruins the Legend C++20 (GCC 11-64) Accepted 202 ms 0 KB
234921774 Nov/29/2023 15:00 xcpc team: BDDL, KXD04, lddc# A - Modulo Ruins the Legend C++20 (GCC 11-64) Accepted 202 ms 0 KB
285187381 Oct/10/2024 17:36 vjudge2 A - Modulo Ruins the Legend C++23 (GCC 14-64, msys2) Accepted 62 ms 7900 KB
268773475 Jul/04/2024 15:55 sdutzjc A - Modulo Ruins the Legend C++17 (GCC 7-32) Accepted 92 ms 7900 KB
203243090 Apr/24/2023 15:22 PLA_Nh A - Modulo Ruins the Legend C++17 (GCC 9-64) Accepted 31 ms 0 KB
290239108 Nov/06/2024 15:38 Rychao A - Modulo Ruins the Legend C++23 (GCC 14-64, msys2) Accepted 62 ms 1600 KB
233766786 Nov/22/2023 09:03 nepenthe: Iris.T, Kaguya_, yinyuqin# A - Modulo Ruins the Legend C++20 (GCC 11-64) Accepted 46 ms 800 KB
219057229 Aug/16/2023 08:16 She and Gold Medal Not Found: Kyrizer_W, DontEatRabbit, CN_Sheldon# A - Modulo Ruins the Legend C++17 (GCC 7-32) Accepted 46 ms 0 KB
199924324 Mar/31/2023 11:59 RuntimeError: C0RRECT, yzyy, Favel# A - Modulo Ruins the Legend C++20 (GCC 11-64) Accepted 109 ms 0 KB
188025424 Jan/05/2023 14:23 vjudge1 A - Modulo Ruins the Legend C++17 (GCC 7-32) Accepted 46 ms 0 KB
290801421 Nov/10/2024 06:38 RUOHUI A - Modulo Ruins the Legend C++20 (GCC 13-64) Accepted 62 ms 100 KB
184410449 Dec/09/2022 06:07 yangjl A - Modulo Ruins the Legend C++20 (GCC 11-64) Accepted 46 ms 0 KB
290801477 Nov/10/2024 06:39 RUOHUI A - Modulo Ruins the Legend C++20 (GCC 13-64) Accepted 62 ms 100 KB
341441606 Oct/02/2025 08:34 submit to try try: candy34, HFDLYS, shendeliliang# A - Modulo Ruins the Legend C++20 (GCC 13-64) Accepted 77 ms 0 KB
231895871 Nov/08/2023 10:07 漩涡: __Dreamboat, Celebrate# A - Modulo Ruins the Legend C++14 (GCC 6-32) Accepted 62 ms 0 KB
285324634 Oct/11/2024 16:47 akemisama A - Modulo Ruins the Legend C++20 (GCC 13-64) Accepted 62 ms 100 KB
290801341 Nov/10/2024 06:36 RUOHUI A - Modulo Ruins the Legend C++20 (GCC 13-64) Accepted 62 ms 100 KB
385083725 Aug/01/2026 12:33 infinitely_C# A - Modulo Ruins the Legend C++23 (GCC 14-64, msys2) Accepted 46 ms 100 KB
229948103 Oct/27/2023 05:33 wawaji: scu_zzk, burutaofan, Hydrogenabc# A - Modulo Ruins the Legend C++20 (GCC 11-64) Accepted 46 ms 800 KB
271450682 Jul/20/2024 04:50 AVAVA A - Modulo Ruins the Legend C++17 (GCC 7-32) Accepted 78 ms 800 KB
288248627 Oct/27/2024 11:52 Oranger_ A - Modulo Ruins the Legend C++23 (GCC 14-64, msys2) Accepted 62 ms 100 KB
288248772 Oct/27/2024 11:53 xinhuo# A - Modulo Ruins the Legend C++23 (GCC 14-64, msys2) Accepted 62 ms 100 KB
226431416 Oct/03/2023 14:54 HuiZi A - Modulo Ruins the Legend C++17 (GCC 7-32) Accepted 62 ms 0 KB
288995875 Oct/31/2024 15:06 xxjjll A - Modulo Ruins the Legend C++20 (GCC 13-64) Accepted 78 ms 800 KB
291570081 Nov/15/2024 14:42 shenyang: windolf, zhensama--# A - Modulo Ruins the Legend C++17 (GCC 7-32) Accepted 202 ms 0 KB
345342332 Oct/23/2025 15:20 Wh1t3zZlo A - Modulo Ruins the Legend C++23 (GCC 14-64, msys2) Accepted 77 ms 0 KB
337710645 Sep/09/2025 09:47 Surging Into The Future: hgzxwzf, Guitar_Jasmine# A - Modulo Ruins the Legend C++23 (GCC 14-64, msys2) Accepted 62 ms 0 KB
218229967 Aug/11/2023 03:40 zxy3383 A - Modulo Ruins the Legend C++20 (GCC 11-64) Accepted 187 ms 0 KB
189209454 Jan/14/2023 14:50 KarumaLee A - Modulo Ruins the Legend C++17 (GCC 7-32) Accepted 187 ms 0 KB
235179323 Dec/01/2023 09:51 与夏之❀: SpadeZ, sha7dow# A - Modulo Ruins the Legend C++20 (GCC 11-64) Accepted 30 ms 0 KB
291053218 Nov/11/2024 14:47 Wht11 A - Modulo Ruins the Legend C++20 (GCC 13-64) Accepted 77 ms 100 KB
341647592 Oct/03/2025 16:41 noobteam: stdb_laster, anyin, X_kengdada# A - Modulo Ruins the Legend C++20 (GCC 13-64) Accepted 78 ms 100 KB
229695473 Oct/25/2023 16:07 Levi_seventy A - Modulo Ruins the Legend C++20 (GCC 11-64) Accepted 30 ms 0 KB
188976923 Jan/12/2023 13:39 any idea: chengheichit, HappyChau0v0, mariowong# A - Modulo Ruins the Legend C++14 (GCC 6-32) Accepted 46 ms 800 KB
225639481 Sep/28/2023 14:14 Acc_Robin# A - Modulo Ruins the Legend C++20 (GCC 11-64) Accepted 31 ms 400 KB
228288196 Oct/15/2023 14:35 surO_o A - Modulo Ruins the Legend C++17 (GCC 7-32) Accepted 46 ms 1600 KB
230510504 Oct/30/2023 17:26 czp2222# A - Modulo Ruins the Legend C++17 (GCC 9-64) Accepted 140 ms 3100 KB
279757089 Sep/04/2024 09:00 NEU_juice: ghosh__, Chyuh, Aybss# A - Modulo Ruins the Legend C++20 (GCC 13-64) Accepted 62 ms 800 KB
351572680 Dec/02/2025 12:20 HCMUS-Sunday: sc111_777, RiverFlow, TrendBattles# A - Modulo Ruins the Legend C++17 (GCC 7-32) Accepted 62 ms 0 KB
224165969 Sep/20/2023 15:43 vjudge5 A - Modulo Ruins the Legend C++20 (GCC 11-64) Accepted 31 ms 4200 KB
203243002 Apr/24/2023 15:21 PLA_Nh A - Modulo Ruins the Legend C++17 (GCC 9-64) Accepted 31 ms 0 KB
212765794 Jul/08/2023 07:25 Euphria# A - Modulo Ruins the Legend C++20 (GCC 11-64) Accepted 31 ms 0 KB
292752945 Nov/22/2024 15:34 Five-Months-Cannot-Drink-Jelly: Salty_jelly, Maplisky, StarLzy# A - Modulo Ruins the Legend C++20 (GCC 13-64) Accepted 77 ms 100 KB
Sort by: