Please subscribe to the official Codeforces channel in Telegram via the link https://t.me/codeforces_official. ×
Problem M - Mind the Gap
 
 
 
 
Contest status
 
 
# When Who Problem Lang Verdict Time Memory
179072930 Nov/03/2022 16:30 THREESUM: Drakkon, Kneee, Gamal74# M - Mind the Gap C++20 (GCC 11-64) Accepted 31 ms 400 KB
391132326 Sep/18/2026 16:00 Vozduh: georgiy_balkin, ilyazhabatinsky# M - Mind the Gap C++23 (GCC 14-64, msys2) Accepted 46 ms 0 KB
348799605 Nov/13/2025 21:40 Ada U9: convict_of_HM, HTLM, Haciyev123# M - Mind the Gap C++23 (GCC 14-64, msys2) Accepted 62 ms 0 KB
232049627 Nov/09/2023 13:09 vibers: DimmyT, ivatopuria# M - Mind the Gap C++17 (GCC 9-64) Accepted 31 ms 1200 KB
206799623 May/22/2023 09:15 mrsuns M - Mind the Gap C++20 (GCC 11-64) Accepted 31 ms 1600 KB
218196291 Aug/10/2023 19:52 send codes: Hafez, Marawan_Mohamed, 0xEssam# M - Mind the Gap C++17 (GCC 7-32) Accepted 46 ms 400 KB
222575632 Sep/09/2023 12:55 Yarsu1: Darius17, new-wave, Mirali777# M - Mind the Gap C++20 (GCC 11-64) Accepted 31 ms 400 KB
369061721 Apr/01/2026 06:46 sk091204# M - Mind the Gap C++23 (GCC 14-64, msys2) Accepted 62 ms 800 KB
397731028 Nov/07/2026 16:53 ziest: Ilnarnur, _Matvey_, DRAGONARU# M - Mind the Gap C++23 (GCC 14-64, msys2) Accepted 203 ms 0 KB
205210194 May/09/2023 13:23 akatsuki: mostafa_ayman, SGMmostafa, Youssif.Gamal# M - Mind the Gap C++20 (GCC 11-64) Accepted 31 ms 2400 KB
180499732 Nov/11/2022 20:24 IMPostors: stefansav, kimbj0709, DS007# M - Mind the Gap C++17 (GCC 7-32) Accepted 46 ms 800 KB
228245143 Oct/15/2023 08:37 sookses: anita_max_wynn, polatkhanmerey, Jones_K# M - Mind the Gap C++20 (GCC 11-64) Accepted 187 ms 400 KB
189230471 Jan/14/2023 18:31 mmdsl M - Mind the Gap C++20 (GCC 11-64) Accepted 187 ms 400 KB
193386068 Feb/12/2023 21:31 gaming gaming: BackToSquare1, dbaumg, bobbilyking# M - Mind the Gap C++17 (GCC 7-32) Accepted 46 ms 800 KB
295887251 Dec/10/2024 15:31 kiomi M - Mind the Gap C++23 (GCC 14-64, msys2) Accepted 78 ms 1600 KB
253937981 Mar/29/2024 15:02 SaLaMaNcAs: Ali1jaraa, nooooob_IbRaHiM2, M_Salameh# M - Mind the Gap C++20 (GCC 13-64) Accepted 31 ms 800 KB
231462998 Nov/05/2023 15:52 De-Buggers: sr3q_mk, radi__07, Assem_albitar# M - Mind the Gap C++17 (GCC 7-32) Accepted 46 ms 400 KB
228261585 Oct/15/2023 11:01 Codebreakers: Diall_, Itsmylove1, AlexTheFirelord# M - Mind the Gap C++20 (GCC 11-64) Accepted 31 ms 800 KB
263603683 Jun/01/2024 12:07 cyan power: oogerbooger, piratZnachor, piegusek# M - Mind the Gap C++17 (GCC 7-32) Accepted 77 ms 0 KB
200828414 Apr/05/2023 07:21 熊熊一家: ZigZagK, chaihf, Yixiong# M - Mind the Gap C++20 (GCC 11-64) Accepted 31 ms 1400 KB
181002350 Nov/14/2022 19:51 1: LIYABeam, klyuevskiy, XieLian# M - Mind the Gap C++17 (GCC 9-64) Accepted 31 ms 1600 KB
184339962 Dec/08/2022 17:12 UWez420: loK10# M - Mind the Gap C++20 (GCC 11-64) Accepted 31 ms 400 KB
333222136 Aug/10/2025 07:31 we_114514 M - Mind the Gap C++20 (GCC 13-64) Accepted 62 ms 2500 KB
228264659 Oct/15/2023 11:25 AlexixRugis# M - Mind the Gap C++17 (GCC 7-32) Accepted 61 ms 800 KB
228268487 Oct/15/2023 11:53 UNN negative 1: MuUJa, mishaizlesa, mada40# M - Mind the Gap C++17 (GCC 7-32) Accepted 46 ms 2400 KB
292726376 Nov/22/2024 11:35 Typical programgramgrammers: TeaTime, ligaydima# M - Mind the Gap C++17 (GCC 7-32) Accepted 109 ms 2200 KB
228260017 Oct/15/2023 10:49 D0pe: Damirca, anotherworld, Axire# M - Mind the Gap C++20 (GCC 11-64) Accepted 31 ms 2400 KB
228271676 Oct/15/2023 12:16 IseePChome: neil93.9.14, raypeng1729, wcwu# M - Mind the Gap C++20 (GCC 11-64) Accepted 187 ms 800 KB
180170037 Nov/09/2022 11:10 Mordovia SU #0: vladmart, natalina, Sasha0738# M - Mind the Gap C++20 (GCC 11-64) Accepted 31 ms 2400 KB
180172281 Nov/09/2022 11:35 AKHMAT: PerChik, CtrlW, under_contro1# M - Mind the Gap C++20 (GCC 11-64) Accepted 31 ms 800 KB
182383510 Nov/24/2022 19:53 Hemose 3al shagra wala 10 fel 2eed: ZerooCool, Hemose, YahiaSherif# M - Mind the Gap C++17 (GCC 7-32) Accepted 46 ms 400 KB
233033069 Nov/17/2023 05:26 Pozitiv M - Mind the Gap C++17 (GCC 7-32) Accepted 202 ms 2400 KB
190045264 Jan/22/2023 00:16 Zachary_Graeber# M - Mind the Gap Java 17 Accepted 405 ms 1400 KB
294897785 Dec/05/2024 09:32 HCMUTE.3SAT: xxballxx, NewGenMafia, LastDanceWonICPC# M - Mind the Gap C++20 (GCC 13-64) Accepted 92 ms 100 KB
226341362 Oct/02/2023 21:36 Geliosoda M - Mind the Gap C++20 (GCC 11-64) Accepted 31 ms 400 KB
329987349 Jul/20/2025 16:21 TeamSPivom: _Tremor_, Werdnight, VladimirAnisimov# M - Mind the Gap C++20 (GCC 13-64) Accepted 77 ms 100 KB
379570806 Jun/20/2026 10:52 ICPC-2027-MEDALISTS(NERC): ChorniBero, gradnos, justVako# M - Mind the Gap C++17 (GCC 7-32) Accepted 62 ms 100 KB
234023930 Nov/24/2023 13:51 Awesome Team Jr.: thatsramen, _VeNoM_, Rawael# M - Mind the Gap C++20 (GCC 11-64) Accepted 31 ms 400 KB
231085434 Nov/03/2023 11:20 FAT: trainwithoutpain, sstrong, HCPS42# M - Mind the Gap C++17 (GCC 9-64) Accepted 31 ms 400 KB
181722066 Nov/20/2022 13:07 Partially Graduated: Menna-Allah05, -Un_known_, EM17# M - Mind the Gap C++17 (GCC 7-32) Accepted 46 ms 800 KB
391052577 Sep/17/2026 19:20 Meow-princesses: annie2018, Tizz1e, _icy_# M - Mind the Gap C++23 (GCC 14-64, msys2) Accepted 46 ms 0 KB
216353451 Jul/29/2023 21:34 KARASUNO: nelsi_sousa, Dayllon, gustavoleal# M - Mind the Gap C++17 (GCC 9-64) Accepted 46 ms 2500 KB
199623695 Mar/29/2023 09:06 vjudge2 M - Mind the Gap C++17 (GCC 9-64) Accepted 46 ms 800 KB
199623620 Mar/29/2023 09:05 vjudge3 M - Mind the Gap C++14 (GCC 6-32) Accepted 93 ms 800 KB
182561121 Nov/25/2022 22:41 when boy do a do of the cool dance yeah do the thing: Arturo, Mohammad.Nour, AboAbdoMC# M - Mind the Gap C++14 (GCC 6-32) Accepted 46 ms 3900 KB
180174040 Nov/09/2022 11:52 Mordovia SU #2: G_D, YaMi506, t0rtik# M - Mind the Gap C++20 (GCC 11-64) Accepted 31 ms 400 KB
221463454 Sep/01/2023 18:14 BilloBaggeBilliyan: Sanat, Ryshi, yuvrajKharayat# M - Mind the Gap C++20 (GCC 11-64) Accepted 31 ms 2400 KB
179078112 Nov/03/2022 17:11 Duck_sajin# M - Mind the Gap C++17 (GCC 7-32) Accepted 171 ms 400 KB
283349055 Sep/28/2024 12:37 shalekberli M - Mind the Gap C++17 (GCC 7-32) Accepted 218 ms 300 KB
226510837 Oct/04/2023 05:01 UH Top: Giga_Cronos, dmga44# M - Mind the Gap C++20 (GCC 11-64) Accepted 31 ms 3900 KB
Sort by: