Please subscribe to the official Codeforces channel in Telegram via the link https://t.me/codeforces_official. ×
Problem A - Zawei The Rock
 
 
 
 
Contest status
 
 
# When Who Problem Lang Verdict Time Memory
327096998 Jul/02/2025 16:51 Aya303 A - Zawei The Rock C++23 (GCC 14-64, msys2) Accepted 15 ms 0 KB
207010164 May/24/2023 09:19 kk28xd A - Zawei The Rock C++17 (GCC 9-64) Accepted 0 ms 0 KB
281771842 Sep/18/2024 20:19 TurboFastCoder# A - Zawei The Rock C++23 (GCC 14-64, msys2) Accepted 30 ms 0 KB
331539583 Jul/30/2025 08:40 Flying Jiejie: jiejieya, visitpage, muling1437# A - Zawei The Rock C++20 (GCC 13-64) Accepted 15 ms 0 KB
212445440 Jul/06/2023 19:41 Temp: MR.JO, alaa.A# A - Zawei The Rock C++17 (GCC 7-32) Accepted 0 ms 0 KB
284884582 Oct/08/2024 10:59 Broken_Sun: MysteriousAdvancedSystem, Fare_well, D12EQD# A - Zawei The Rock C++20 (GCC 13-64) Accepted 31 ms 100 KB
219405550 Aug/18/2023 09:10 wxfqh: wfqh, chuyang, NanYanNanChui# A - Zawei The Rock C++20 (GCC 11-64) Accepted 0 ms 0 KB
213650443 Jul/13/2023 15:36 cold7 A - Zawei The Rock C++20 (GCC 11-64) Accepted 0 ms 0 KB
201212441 Apr/08/2023 08:01 vjudge2 A - Zawei The Rock C++14 (GCC 6-32) Accepted 15 ms 48900 KB
206915337 May/23/2023 10:58 buns_out A - Zawei The Rock C++20 (GCC 11-64) Accepted 0 ms 0 KB
266504062 Jun/20/2024 01:15 Mr_Sa3dola# A - Zawei The Rock C++17 (GCC 7-32) Accepted 30 ms 0 KB
209365616 Jun/12/2023 13:46 Laith.AB# A - Zawei The Rock C++17 (GCC 9-64) Accepted 0 ms 0 KB
202940548 Apr/21/2023 12:44 gongkoufadongji A - Zawei The Rock C++20 (GCC 11-64) Accepted 15 ms 15700 KB
268082198 Jun/30/2024 10:18 Kirlos_Nabil# A - Zawei The Rock C++20 (GCC 13-64) Accepted 46 ms 0 KB
202913020 Apr/21/2023 05:59 Elagamy# A - Zawei The Rock C++20 (GCC 11-64) Accepted 0 ms 0 KB
202102080 Apr/14/2023 20:54 ashroukahmad109 A - Zawei The Rock C++17 (GCC 7-32) Accepted 0 ms 0 KB
204086451 May/01/2023 00:15 Mr_Sa3dola# A - Zawei The Rock C++20 (GCC 11-64) Accepted 0 ms 0 KB
204086558 May/01/2023 00:17 ay 7aga: Mr_Sa3dola, _Source# A - Zawei The Rock C++20 (GCC 11-64) Accepted 0 ms 0 KB
204908764 May/07/2023 03:51 pretodf A - Zawei The Rock C++17 (GCC 7-32) Accepted 0 ms 0 KB
202688846 Apr/19/2023 12:02 stdforces A - Zawei The Rock C++20 (GCC 11-64) Accepted 0 ms 0 KB
200828596 Apr/05/2023 07:24 vjudge1 A - Zawei The Rock C++14 (GCC 6-32) Accepted 0 ms 0 KB
264797055 Jun/09/2024 07:15 momen159# A - Zawei The Rock C++20 (GCC 13-64) Accepted 30 ms 0 KB
204086443 May/01/2023 00:15 عودة العلاقات: Rokba, Drakkon A - Zawei The Rock C++20 (GCC 11-64) Accepted 0 ms 0 KB
216905425 Aug/03/2023 00:00 خالد خلاص راح مشوار وراح المطار: Adhoom# A - Zawei The Rock C++17 (GCC 7-32) Accepted 0 ms 0 KB
216693864 Aug/01/2023 13:30 qizhencheng666# A - Zawei The Rock C++20 (GCC 11-64) Accepted 0 ms 0 KB
378053220 Jun/10/2026 11:36 BetterCallUssif A - Zawei The Rock C++23 (GCC 14-64, msys2) Accepted 15 ms 0 KB
200821444 Apr/05/2023 05:14 vjudge3 A - Zawei The Rock C++17 (GCC 7-32) Accepted 0 ms 3900 KB
212957141 Jul/09/2023 14:22 Sayed_Mostafa A - Zawei The Rock C++20 (GCC 11-64) Accepted 0 ms 0 KB
271865370 Jul/22/2024 08:40 vjudge.9 A - Zawei The Rock C++20 (GCC 13-64) Accepted 46 ms 0 KB
213522072 Jul/12/2023 17:07 _Mamdouh_ A - Zawei The Rock C++17 (GCC 7-32) Accepted 0 ms 0 KB
210762600 Jun/23/2023 16:21 mixedpeanuts: Primesz, TheOne28# A - Zawei The Rock C++20 (GCC 11-64) Accepted 0 ms 0 KB
201076464 Apr/06/2023 23:58 salma_ahmed28 A - Zawei The Rock C++14 (GCC 6-32) Accepted 0 ms 0 KB
323684299 Jun/09/2025 22:33 el_daife: AseelToson, Romaa.m, ayat_Elgamal# A - Zawei The Rock C++17 (GCC 7-32) Accepted 46 ms 0 KB
203592767 Apr/26/2023 22:21 Ultimatum: camilo_alvarez, NellerP21, johnalejandrog.g4# A - Zawei The Rock C++17 (GCC 7-32) Accepted 15 ms 0 KB
201919305 Apr/13/2023 13:32 vjudge3 A - Zawei The Rock Java 17 Accepted 93 ms 300 KB
207372867 May/26/2023 18:19 vjudge1 A - Zawei The Rock C++20 (GCC 11-64) Accepted 0 ms 0 KB
202983188 Apr/21/2023 21:50 LotfyCodeSlayer# A - Zawei The Rock C++17 (GCC 7-32) Accepted 0 ms 0 KB
235175005 Dec/01/2023 09:15 wen_Xjp A - Zawei The Rock C++20 (GCC 11-64) Accepted 0 ms 400 KB
204221899 May/02/2023 14:17 3_Horsemen_of_CPC: Beboo_Osama, Mohamed_Basha, CaniBeCandidateMaster# A - Zawei The Rock C++20 (GCC 11-64) Accepted 0 ms 0 KB
200827194 Apr/05/2023 07:00 vjudge5 A - Zawei The Rock C++17 (GCC 9-64) Accepted 0 ms 0 KB
216693839 Aug/01/2023 13:30 Original Wood: hongjinjian, L_M_Y, hyhsdsg# A - Zawei The Rock C++20 (GCC 11-64) Accepted 0 ms 0 KB
323756528 Jun/10/2025 13:53 _AhmedElshahat_ A - Zawei The Rock C++23 (GCC 14-64, msys2) Accepted 31 ms 0 KB
201977399 Apr/13/2023 21:26 Que bendición: elpepe123, automac, juancs# A - Zawei The Rock C++17 (GCC 9-64) Accepted 0 ms 0 KB
208196590 Jun/02/2023 20:25 Moamen_Ebrahim A - Zawei The Rock C++20 (GCC 11-64) Accepted 0 ms 0 KB
207370315 May/26/2023 17:57 vjudge1 A - Zawei The Rock C++20 (GCC 11-64) Accepted 0 ms 0 KB
271862531 Jul/22/2024 08:05 vjudge.10 A - Zawei The Rock C++17 (GCC 7-32) Accepted 46 ms 4000 KB
200831731 Apr/05/2023 08:13 vjudge3 A - Zawei The Rock C++17 (GCC 9-64) Accepted 0 ms 1800 KB
203082136 Apr/22/2023 22:51 TouristClappers: Youssef_Mehany, DedSecAlpha# A - Zawei The Rock C++20 (GCC 11-64) Accepted 0 ms 0 KB
331539536 Jul/30/2025 08:40 Flying Jiejie: jiejieya, visitpage, muling1437# A - Zawei The Rock C++23 (GCC 14-64, msys2) Accepted 46 ms 0 KB
232007300 Nov/09/2023 04:34 Wina: Top1Top1Top1Top1, KH22.Serge_# A - Zawei The Rock C++17 (GCC 7-32) Accepted 0 ms 0 KB
Sort by: