Please subscribe to the official Codeforces channel in Telegram via the link https://t.me/codeforces_official. ×
Problem B - Bricks in the Wall
 
 
 
 
Contest status
 
 
# When Who Problem Lang Verdict Time Memory
290540742 Nov/08/2024 15:45 pwild# B - Bricks in the Wall C++23 (GCC 14-64, msys2) Accepted 1405 ms 283500 KB
205722567 May/13/2023 16:16 vjudge5 B - Bricks in the Wall C++20 (GCC 11-64) Accepted 343 ms 149400 KB
290178568 Nov/06/2024 08:54 Serikbay777 happy birthday legend: is_i, Aldk, hamburger46# B - Bricks in the Wall C++17 (GCC 7-32) Accepted 311 ms 140200 KB
181500222 Nov/18/2022 19:21 YeWeiQiang B - Bricks in the Wall C++20 (GCC 11-64) Accepted 140 ms 80800 KB
225038535 Sep/25/2023 10:07 HDU-T12: lisihan, My_Sword, widsnoy_rs# B - Bricks in the Wall C++20 (GCC 11-64) Accepted 109 ms 72900 KB
181732745 Nov/20/2022 14:56 Kindergarten Timelimit: LuCpp, Jonas01234500, dranjohn# B - Bricks in the Wall C++20 (GCC 11-64) Accepted 93 ms 31300 KB
181860193 Nov/21/2022 12:17 mnbvmar# B - Bricks in the Wall C++20 (GCC 11-64) Accepted 139 ms 40200 KB
341616965 Oct/03/2025 12:23 IAJ: Nxxlt, Captain_Georgia, Raul2008487# B - Bricks in the Wall C++20 (GCC 13-64) Accepted 249 ms 105900 KB
179029292 Nov/03/2022 09:39 panyaoyu1999# B - Bricks in the Wall C++20 (GCC 11-64) Accepted 421 ms 94100 KB
199238561 Mar/26/2023 15:49 Elderidge B - Bricks in the Wall C++17 (GCC 7-32) Accepted 171 ms 57600 KB
205722678 May/13/2023 16:17 Daybreak7 B - Bricks in the Wall C++20 (GCC 11-64) Accepted 358 ms 149400 KB
339682613 Sep/21/2025 13:01 yume: kkwwaa, AlexanderGarifullin, andrey545454# B - Bricks in the Wall PyPy 3-64 Accepted 1718 ms 350800 KB
288935829 Oct/30/2024 18:56 ibrm# B - Bricks in the Wall C++20 (GCC 13-64) Accepted 483 ms 190300 KB
224255500 Sep/21/2023 09:23 Origin of Symmetry: world_top_1_AD_uzi, -0v0-, Isoeasy# B - Bricks in the Wall C++20 (GCC 11-64) Accepted 654 ms 63700 KB
192827887 Feb/09/2023 10:14 simplesml B - Bricks in the Wall C++20 (GCC 11-64) Accepted 93 ms 8800 KB
185331677 Dec/15/2022 18:21 Blisterpopper# B - Bricks in the Wall C++17 (GCC 7-32) Accepted 499 ms 141200 KB
180893600 Nov/13/2022 21:59 Agreb# B - Bricks in the Wall C++17 (GCC 7-32) Accepted 249 ms 62800 KB
183626049 Dec/02/2022 19:37 JakeKilled4 B - Bricks in the Wall C++20 (GCC 11-64) Accepted 187 ms 57800 KB
181843931 Nov/21/2022 08:54 vjudge4 B - Bricks in the Wall C++17 (GCC 7-32) Accepted 233 ms 54700 KB
205638889 May/12/2023 22:09 RTFP: spar5h, Liupeiliang, anpoli99# B - Bricks in the Wall C++17 (GCC 9-64) Accepted 732 ms 128500 KB
181858937 Nov/21/2022 12:05 UW 11: eratchia, wonrzrzeczny, Risers# B - Bricks in the Wall C++17 (GCC 7-32) Accepted 904 ms 106800 KB
181162271 Nov/16/2022 09:07 ☁️: foreverlasting, Suika_predator, fallleaves01# B - Bricks in the Wall C++20 (GCC 11-64) Accepted 1372 ms 407900 KB
374006004 May/09/2026 14:57 ICPC-2027-MEDALISTS(NERC): ChorniBero, gradnos, justVako# B - Bricks in the Wall C++17 (GCC 7-32) Accepted 296 ms 104200 KB
284124957 Oct/03/2024 09:24 vjudge.1 B - Bricks in the Wall C++20 (GCC 13-64) Accepted 1156 ms 495800 KB
347653834 Nov/06/2025 13:07 Taurida NU: Lunar Flame: vlibrovs, _Baron_, Luckwet# B - Bricks in the Wall C++23 (GCC 14-64, msys2) Accepted 515 ms 58900 KB
205294543 May/10/2023 09:26 ff: zstuxuesongyin, chinaN0.1, xubo123# B - Bricks in the Wall C++20 (GCC 11-64) Accepted 249 ms 105200 KB
331546810 Jul/30/2025 09:56 annyeong1# B - Bricks in the Wall C++23 (GCC 14-64, msys2) Accepted 312 ms 144000 KB
221609163 Sep/02/2023 23:00 Don Gato: estoy-re-sebado, Fran2001, Tainel# B - Bricks in the Wall C++20 (GCC 11-64) Accepted 234 ms 106300 KB
207105639 May/25/2023 08:47 wrongname B - Bricks in the Wall C++14 (GCC 6-32) Accepted 358 ms 58700 KB
346036664 Oct/27/2025 17:46 3 little 3 late: Sofapuden, Temmie, Asbjorn# B - Bricks in the Wall C++23 (GCC 14-64, msys2) Accepted 280 ms 76700 KB
347324911 Nov/04/2025 00:22 XTray_ B - Bricks in the Wall C++20 (GCC 13-64) Accepted 827 ms 201800 KB
268886339 Jul/05/2024 09:59 Brovko# B - Bricks in the Wall C++20 (GCC 13-64) Accepted 186 ms 28100 KB
180596538 Nov/12/2022 15:29 Gryffind-OR: ZiadEl-Gafy, Mariam_Yasser, Abdel-AzizMostafa# B - Bricks in the Wall C++17 (GCC 9-64) Accepted 623 ms 258700 KB
347324937 Nov/04/2025 00:22 XTray_ B - Bricks in the Wall C++20 (GCC 13-64) Accepted 562 ms 201000 KB
178846572 Nov/01/2022 16:12 Saratov SU Daegons: awoo, Neon, vovuh# B - Bricks in the Wall C++14 (GCC 6-32) Accepted 1138 ms 144400 KB
179339994 Nov/05/2022 05:35 vjudge4 B - Bricks in the Wall C++17 (GCC 9-64) Accepted 374 ms 25500 KB
209206263 Jun/10/2023 17:55 imirdy# B - Bricks in the Wall C++20 (GCC 11-64) Accepted 420 ms 156200 KB
204224186 May/02/2023 14:45 vjudge3 B - Bricks in the Wall C++17 (GCC 9-64) Accepted 936 ms 263000 KB
207425648 May/27/2023 08:28 O3: hibye1217, lmlmlm, junseo# B - Bricks in the Wall C++17 (GCC 7-32) Accepted 140 ms 58900 KB
320904161 May/23/2025 15:51 so fazer igual treinamos: Pagode_Paiva, ThiagoMM, Lalic# B - Bricks in the Wall C++20 (GCC 13-64) Accepted 437 ms 128700 KB
393588870 Oct/07/2026 18:54 NTT: Andrei.E, lucri, ezluci# B - Bricks in the Wall C++17 (GCC 7-32) Accepted 218 ms 39900 KB
181569333 Nov/19/2022 09:36 Messy Association: trousers, wudima7, m_rd# B - Bricks in the Wall C++17 (GCC 9-64) Accepted 326 ms 167800 KB
231333005 Nov/04/2023 15:39 asd123: I_am_balancing, purpIe, abunyawa# B - Bricks in the Wall C++17 (GCC 7-32) Accepted 436 ms 31800 KB
184559047 Dec/10/2022 13:48 UESTC_Hanabi: verjun, Jelefy, liar_frisky# B - Bricks in the Wall C++17 (GCC 7-32) Accepted 935 ms 138300 KB
183145474 Nov/29/2022 09:07 lmbjzs# B - Bricks in the Wall C++20 (GCC 11-64) Accepted 420 ms 89300 KB
228918995 Oct/20/2023 15:21 thinkofnamelater: pooty, spacewalker, jefrai# B - Bricks in the Wall C++20 (GCC 11-64) Accepted 1450 ms 225300 KB
183831751 Dec/04/2022 16:01 jeroenodb# B - Bricks in the Wall C++20 (GCC 11-64) Accepted 155 ms 65800 KB
205927817 May/15/2023 01:55 ¯⧵_(ツ)_∕¯: qpwoeirut, Ritwin# B - Bricks in the Wall C++20 (GCC 11-64) Accepted 607 ms 211700 KB
233054714 Nov/17/2023 10:48 Making Money Happily: NxtEcho, 0wuming0, GSYL# B - Bricks in the Wall C++20 (GCC 11-64) Accepted 514 ms 71000 KB
205926516 May/15/2023 01:18 raft, rut, rawe, and rotato: ezraft, BucketPotato# B - Bricks in the Wall C++20 (GCC 11-64) Accepted 467 ms 189100 KB
Sort by: