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
381988908 Jul/10/2026 17:25 Sparkies: judival30, osvarp# A - Ribbon on the Christmas Present C++23 (GCC 14-64, msys2) Accepted 31 ms 7900 KB
380262086 Jun/27/2026 04:25 kroniwis A - Ribbon on the Christmas Present C++20 (GCC 13-64) Accepted 31 ms 0 KB
307113774 Feb/21/2025 13:36 UNDERTAKER# A - Ribbon on the Christmas Present C++20 (GCC 13-64) Accepted 61 ms 100 KB
315899871 Apr/17/2025 04:23 Fire in the Hole: MrCharlezzz, Giga_Cronos# A - Ribbon on the Christmas Present C++23 (GCC 14-64, msys2) Accepted 62 ms 100 KB
380261038 Jun/27/2026 03:40 Guanexxx A - Ribbon on the Christmas Present C++23 (GCC 14-64, msys2) Accepted 31 ms 0 KB
318115871 May/02/2025 17:29 Tapos-Minmoy# A - Ribbon on the Christmas Present C++17 (GCC 7-32) Accepted 62 ms 0 KB
325096673 Jun/19/2025 07:47 bracu_bitsheviks: thunderz69, betaboomer, mhmusanna# A - Ribbon on the Christmas Present C++20 (GCC 13-64) Accepted 46 ms 0 KB
327033057 Jul/02/2025 09:15 jjaewon: paran, Min_27, 0O00O0O0_RIP_0O0O00O0O0# A - Ribbon on the Christmas Present C++23 (GCC 14-64, msys2) Accepted 124 ms 67500 KB
299968813 Jan/07/2025 05:40 voidptr0# A - Ribbon on the Christmas Present C++23 (GCC 14-64, msys2) Accepted 61 ms 100 KB
317861051 Apr/30/2025 19:09 DCC_404NotFound: Nayeem_11720, PARTHO_DAS, mindflux# A - Ribbon on the Christmas Present C++23 (GCC 14-64, msys2) Accepted 77 ms 100 KB
366612966 Mar/14/2026 13:44 poisonous-sheep A - Ribbon on the Christmas Present C++20 (GCC 13-64) Accepted 46 ms 15700 KB
365579425 Mar/06/2026 13:10 WA.on.Pretest.4: nipunnohria2016, jayantjha1109, Prerak_7108# A - Ribbon on the Christmas Present C++17 (GCC 7-32) Accepted 46 ms 1200 KB
381978343 Jul/10/2026 15:59 Tawfiq_wahed A - Ribbon on the Christmas Present C++23 (GCC 14-64, msys2) Accepted 46 ms 2400 KB
298189426 Dec/24/2024 16:15 Yetty_plus_plus A - Ribbon on the Christmas Present C++20 (GCC 13-64) Accepted 46 ms 100 KB
331907702 Aug/01/2025 09:15 LHP-SocolaCocaKoala: NemChuaDestroyer, enxiayy, Zero_OP# A - Ribbon on the Christmas Present C++20 (GCC 13-64) Accepted 46 ms 100 KB
306524480 Feb/17/2025 15:12 vjudge.2 A - Ribbon on the Christmas Present C++20 (GCC 13-64) Accepted 46 ms 0 KB
312882987 Mar/29/2025 08:27 oboro A - Ribbon on the Christmas Present C++23 (GCC 14-64, msys2) Accepted 46 ms 100 KB
366612532 Mar/14/2026 13:40 poisonous-sheep A - Ribbon on the Christmas Present C++20 (GCC 13-64) Accepted 31 ms 15700 KB
386014797 Aug/07/2026 06:41 UIT.TSV.Meoooooooooo: lftroq, sangph2612, votranngocvy# A - Ribbon on the Christmas Present C++23 (GCC 14-64, msys2) Accepted 46 ms 100 KB
306529372 Feb/17/2025 15:50 vjudge.3 A - Ribbon on the Christmas Present C++17 (GCC 7-32) Accepted 61 ms 100 KB
343865588 Oct/15/2025 15:58 ikkansei# A - Ribbon on the Christmas Present C++17 (GCC 7-32) Accepted 62 ms 0 KB
306533917 Feb/17/2025 16:21 vjudge3 A - Ribbon on the Christmas Present C++17 (GCC 7-32) Accepted 61 ms 100 KB
341928527 Oct/05/2025 04:25 RagFled: _I_hate_Summer_, DuongNeverAlone, VanLam# A - Ribbon on the Christmas Present C++17 (GCC 7-32) Accepted 61 ms 100 KB
298640085 Dec/27/2024 11:51 vologda_edinstvo_1: artcosec, kumzerikov# A - Ribbon on the Christmas Present C++20 (GCC 13-64) Accepted 46 ms 0 KB
298418030 Dec/25/2024 16:04 vjudge.4 A - Ribbon on the Christmas Present C++20 (GCC 13-64) Accepted 61 ms 100 KB
352686715 Dec/09/2025 14:12 UIT.THP.RETIRED: anhphant, Trungngayxua, UIT.NgocHung# A - Ribbon on the Christmas Present C++20 (GCC 13-64) Accepted 46 ms 4000 KB
304950003 Feb/08/2025 11:08 HCMUT FieryFirefly: gnwfgg, Namine, pnlong2706# A - Ribbon on the Christmas Present C++17 (GCC 7-32) Accepted 46 ms 100 KB
388406503 Aug/26/2026 02:55 greenbear0814# A - Ribbon on the Christmas Present C++23 (GCC 14-64, msys2) Accepted 62 ms 100 KB
316626491 Apr/22/2025 05:44 MrCharlezzz A - Ribbon on the Christmas Present C++23 (GCC 14-64, msys2) Accepted 61 ms 1600 KB
301287724 Jan/16/2025 20:50 Nika. A - Ribbon on the Christmas Present C++20 (GCC 13-64) Accepted 61 ms 0 KB
308784224 Mar/03/2025 15:19 bobry: egorka5opka, pskobx, oblememan# A - Ribbon on the Christmas Present C++20 (GCC 13-64) Accepted 62 ms 100 KB
315292629 Apr/13/2025 16:17 Star_Waliking A - Ribbon on the Christmas Present C++17 (GCC 7-32) Accepted 61 ms 15700 KB
341934323 Oct/05/2025 06:06 VKU.FriendshipPower: JustA7, ace_loves_xq, taded# A - Ribbon on the Christmas Present C++17 (GCC 7-32) Accepted 61 ms 100 KB
315078400 Apr/12/2025 07:15 heisenburger: whitebear13579, stCYH, charles0123# A - Ribbon on the Christmas Present C++23 (GCC 14-64, msys2) Accepted 46 ms 4000 KB
344432805 Oct/18/2025 08:05 WA automation: Looefa, luochenpiaoxue# A - Ribbon on the Christmas Present C++17 (GCC 7-32) Accepted 61 ms 100 KB
335451081 Aug/25/2025 09:13 TORNADO++: adl, urzhar18, Kanich# A - Ribbon on the Christmas Present C++20 (GCC 13-64) Accepted 46 ms 0 KB
302599280 Jan/23/2025 16:03 liagol A - Ribbon on the Christmas Present C++17 (GCC 7-32) Accepted 46 ms 2400 KB
306527692 Feb/17/2025 15:38 vjudge.10 A - Ribbon on the Christmas Present C++20 (GCC 13-64) Accepted 62 ms 9400 KB
342876516 Oct/10/2025 12:30 Lovemongers: vanshkalra, TheEgoist, Eyes_on_me# A - Ribbon on the Christmas Present C++23 (GCC 14-64, msys2) Accepted 77 ms 0 KB
306528443 Feb/17/2025 15:44 vjudge.7 A - Ribbon on the Christmas Present C++23 (GCC 14-64, msys2) Accepted 61 ms 100 KB
298415387 Dec/25/2024 15:45 smiken A - Ribbon on the Christmas Present C++17 (GCC 7-32) Accepted 46 ms 47000 KB
306137026 Feb/14/2025 23:42 Gunter132FanClub: Pocochuk, dhuamanilu, gopoma# A - Ribbon on the Christmas Present C++23 (GCC 14-64, msys2) Accepted 61 ms 100 KB
306522345 Feb/17/2025 14:55 vjudge3 A - Ribbon on the Christmas Present C++20 (GCC 13-64) Accepted 62 ms 0 KB
298357824 Dec/25/2024 07:17 vjudge3 A - Ribbon on the Christmas Present C++20 (GCC 13-64) Accepted 77 ms 100 KB
298944279 Dec/29/2024 11:35 Kite_kuma A - Ribbon on the Christmas Present C++23 (GCC 14-64, msys2) Accepted 77 ms 100 KB
316116670 Apr/18/2025 18:46 yimiya A - Ribbon on the Christmas Present C++20 (GCC 13-64) Accepted 77 ms 100 KB
298796686 Dec/28/2024 15:50 ivanuzhka# A - Ribbon on the Christmas Present C++20 (GCC 13-64) Accepted 77 ms 100 KB
316041295 Apr/18/2025 08:04 HoMaMaOvO: hos.lyric, maspy, maroonrk# A - Ribbon on the Christmas Present C++23 (GCC 14-64, msys2) Accepted 62 ms 100 KB
306306593 Feb/16/2025 12:17 Champions: -Ed-, Mox_Taest3r, Insightful# A - Ribbon on the Christmas Present C++20 (GCC 13-64) Accepted 46 ms 100 KB
320211956 May/18/2025 12:22 CtrlAltDefeat: Isdon, krishuuu_p, YashJainyj# A - Ribbon on the Christmas Present C++23 (GCC 14-64, msys2) Accepted 62 ms 400 KB
Sort by: