Please subscribe to the official Codeforces channel in Telegram via the link https://t.me/codeforces_official. ×
Problem A - Ribbon on the Christmas Present
 
 
 
 
Contest status
 
 
# When Who Problem Lang Verdict Time Memory
336957273 Sep/05/2025 10:00 OvO977 A - Ribbon on the Christmas Present C++23 (GCC 14-64, msys2) Accepted 46 ms 100 KB
302316799 Jan/22/2025 07:19 alpha1324 A - Ribbon on the Christmas Present C++20 (GCC 13-64) Accepted 61 ms 100 KB
341940131 Oct/05/2025 07:25 deudoena A - Ribbon on the Christmas Present C++23 (GCC 14-64, msys2) Accepted 46 ms 15700 KB
313189050 Mar/31/2025 04:37 duduardo A - Ribbon on the Christmas Present C++17 (GCC 7-32) Accepted 62 ms 0 KB
393301037 Oct/05/2026 17:31 Danse, Horse: ReshuVse, Bul0n4iK, kohonovalex2008# A - Ribbon on the Christmas Present C++23 (GCC 14-64, msys2) Accepted 46 ms 0 KB
345680078 Oct/25/2025 07:06 vjudge.4 A - Ribbon on the Christmas Present C++17 (GCC 7-32) Accepted 46 ms 100 KB
298423697 Dec/25/2024 16:48 _1_2_3_4_5_6_7_8_ A - Ribbon on the Christmas Present C++17 (GCC 7-32) Accepted 62 ms 100 KB
309593596 Mar/09/2025 10:55 patara gijuebi: Eke_bichi, Jondo, Nika_Tamliani# A - Ribbon on the Christmas Present C++20 (GCC 13-64) Accepted 46 ms 4000 KB
394318886 Oct/12/2026 21:35 [UDESC] Catarinense* Not Found: ZeppZeppelin, bras, majinaru# A - Ribbon on the Christmas Present C++23 (GCC 14-64, msys2) Accepted 46 ms 0 KB
330899633 Jul/26/2025 07:36 bkifhr6 A - Ribbon on the Christmas Present C++17 (GCC 7-32) Accepted 77 ms 100 KB
316137279 Apr/18/2025 21:14 UTN FRSF: Champan en Lata: Joigca, AAA-AAA-AAA, marianoferesin# A - Ribbon on the Christmas Present C++20 (GCC 13-64) Accepted 61 ms 0 KB
309049297 Mar/05/2025 13:30 不会取名: dhxxiifv, ricardo-s, wadexin# A - Ribbon on the Christmas Present C++23 (GCC 14-64, msys2) Accepted 62 ms 31400 KB
343924152 Oct/15/2025 22:17 first dance: nicolasalba, alexalvarez123# A - Ribbon on the Christmas Present C++23 (GCC 14-64, msys2) Accepted 93 ms 0 KB
322118842 May/31/2025 06:37 zebnel A - Ribbon on the Christmas Present C++20 (GCC 13-64) Accepted 62 ms 0 KB
300960711 Jan/14/2025 13:32 Shizerland: AVdovin, Gabbasov, erytw# A - Ribbon on the Christmas Present C++20 (GCC 13-64) Accepted 62 ms 100 KB
380262224 Jun/27/2026 04:29 Zokzz A - Ribbon on the Christmas Present C++20 (GCC 13-64) Accepted 31 ms 0 KB
338853240 Sep/16/2025 05:17 ROTA2# A - Ribbon on the Christmas Present C++20 (GCC 13-64) Accepted 46 ms 0 KB
351934206 Dec/05/2025 04:09 FPTU.Sugar-Krash_Saga: CF26_RoadToCM, account, CarlavierVN# A - Ribbon on the Christmas Present C++20 (GCC 13-64) Accepted 46 ms 100 KB
309620473 Mar/09/2025 14:48 patara gijuebi: Eke_bichi, Jondo, Nika_Tamliani# A - Ribbon on the Christmas Present C++17 (GCC 7-32) Accepted 61 ms 100 KB
298720631 Dec/27/2024 21:44 男同俱乐部: EvenImage# A - Ribbon on the Christmas Present C++23 (GCC 14-64, msys2) Accepted 62 ms 100 KB
348574093 Nov/12/2025 10:07 CCU_CSeeU: pufferFishZJ, zheyu, yijyun0320# A - Ribbon on the Christmas Present C++20 (GCC 13-64) Accepted 62 ms 0 KB
324524043 Jun/15/2025 15:26 If youre always worried about ..... you wont be able to walk: defnotmee, ThiagoMM, enzopsm# A - Ribbon on the Christmas Present C++23 (GCC 14-64, msys2) Accepted 62 ms 100 KB
341939532 Oct/05/2025 07:17 onkar_somanic A - Ribbon on the Christmas Present C++23 (GCC 14-64, msys2) Accepted 46 ms 11000 KB
298104853 Dec/23/2024 22:10 average dora enjoyers ^^: alexyurkin101, g1phy# A - Ribbon on the Christmas Present C++23 (GCC 14-64, msys2) Accepted 62 ms 100 KB
330508104 Jul/23/2025 14:55 NYCU_OverFlowers: guancheng0303, bonginn, Sakurajima# A - Ribbon on the Christmas Present C++20 (GCC 13-64) Accepted 62 ms 100 KB
341637680 Oct/03/2025 15:46 yifei04# A - Ribbon on the Christmas Present C++23 (GCC 14-64, msys2) Accepted 46 ms 0 KB
344434793 Oct/18/2025 08:23 CURRY051119# A - Ribbon on the Christmas Present C++17 (GCC 7-32) Accepted 62 ms 100 KB
307355558 Feb/23/2025 05:32 RedCapeFlyingCat: 1075508020060209tc, niter, temmieowo# A - Ribbon on the Christmas Present C++20 (GCC 13-64) Accepted 62 ms 0 KB
315211695 Apr/12/2025 23:18 GaryStriving A - Ribbon on the Christmas Present C++17 (GCC 7-32) Accepted 62 ms 100 KB
307348129 Feb/23/2025 02:01 vjudge.5 A - Ribbon on the Christmas Present C++23 (GCC 14-64, msys2) Accepted 62 ms 100 KB
341939895 Oct/05/2025 07:22 vjudge.3 A - Ribbon on the Christmas Present C++23 (GCC 14-64, msys2) Accepted 46 ms 100 KB
307338122 Feb/22/2025 23:28 vjudge.8 A - Ribbon on the Christmas Present C++17 (GCC 7-32) Accepted 46 ms 100 KB
298578922 Dec/26/2024 20:24 H_R_K A - Ribbon on the Christmas Present C++20 (GCC 13-64) Accepted 62 ms 100 KB
341929768 Oct/05/2025 04:51 ilovechildp: TuanBuiYL, Dat_123, Spice# A - Ribbon on the Christmas Present C++17 (GCC 7-32) Accepted 62 ms 100 KB
314983332 Apr/11/2025 12:20 CiganskiTabor: marinkaa, knapik, dev1l_1# A - Ribbon on the Christmas Present C++20 (GCC 13-64) Accepted 61 ms 100 KB
313995442 Apr/05/2025 07:23 ShadowAA A - Ribbon on the Christmas Present C++23 (GCC 14-64, msys2) Accepted 62 ms 100 KB
306535016 Feb/17/2025 16:28 vjudge2 A - Ribbon on the Christmas Present C++20 (GCC 13-64) Accepted 62 ms 100 KB
325544873 Jun/22/2025 12:10 opal_Inwza007x# A - Ribbon on the Christmas Present C++17 (GCC 7-32) Accepted 62 ms 0 KB
298756653 Dec/28/2024 09:13 vjudge4 A - Ribbon on the Christmas Present C++23 (GCC 14-64, msys2) Accepted 61 ms 100 KB
341940554 Oct/05/2025 07:31 DawnFall119 A - Ribbon on the Christmas Present C++23 (GCC 14-64, msys2) Accepted 46 ms 31400 KB
298690250 Dec/27/2024 18:18 lequoctran181 A - Ribbon on the Christmas Present C++20 (GCC 13-64) Accepted 62 ms 4000 KB
330045418 Jul/21/2025 04:19 yeezusch23# A - Ribbon on the Christmas Present C++17 (GCC 7-32) Accepted 62 ms 100 KB
343777600 Oct/15/2025 01:30 bubniak A - Ribbon on the Christmas Present C++23 (GCC 14-64, msys2) Accepted 77 ms 0 KB
345862647 Oct/26/2025 12:21 GrandpaWithKids: WonderfulWhale, OneLastDance# A - Ribbon on the Christmas Present C++20 (GCC 13-64) Accepted 61 ms 100 KB
306526919 Feb/17/2025 15:32 vjudge4 A - Ribbon on the Christmas Present C++17 (GCC 7-32) Accepted 62 ms 100 KB
317904929 May/01/2025 09:01 南京打铁传说と绝凶の猛虎!二周目が欲です: Louie64, Kalenitid, Meltrysaika# A - Ribbon on the Christmas Present C++20 (GCC 13-64) Accepted 46 ms 100 KB
331060539 Jul/27/2025 11:55 sos repos: Zazerg, Dmi34, mechakotik# A - Ribbon on the Christmas Present C++20 (GCC 13-64) Accepted 62 ms 100 KB
346754666 Oct/31/2025 04:53 HCMUS-Kiluwy: kiethm07, dwuy, _callmelucian# A - Ribbon on the Christmas Present C++17 (GCC 7-32) Accepted 62 ms 0 KB
391409474 Sep/21/2026 13:48 dedguy001 A - Ribbon on the Christmas Present C++23 (GCC 14-64, msys2) Accepted 31 ms 0 KB
301255519 Jan/16/2025 16:59 UW3: ivgechu, ahsoltan# A - Ribbon on the Christmas Present C++20 (GCC 13-64) Accepted 46 ms 100 KB
Sort by: