Problem G - Petr's Algorithm
 
 
 
 
Contest status
 
 
# When Who Problem Lang Verdict Time Memory
305065112 Feb/09/2025 06:49 vjudge.3 G - Petr's Algorithm C++20 (GCC 13-64) Accepted 92 ms 3200 KB
132085636 Oct/16/2021 07:48 vjudge5 G - Petr's Algorithm C++17 (GCC 7-32) Accepted 31 ms 3900 KB
132085679 Oct/16/2021 07:48 vjudge4 G - Petr's Algorithm C++17 (GCC 7-32) Accepted 46 ms 3900 KB
196089849 Mar/05/2023 08:38 vjudge3 G - Petr's Algorithm C++17 (GCC 9-64) Accepted 31 ms 0 KB
128472723 Sep/11/2021 09:11 ICPC trainings (Kogut, Trifoch... Zuev, Chumachenko, Voynov): Madball, Gmacem, Kogut_Ivan# G - Petr's Algorithm MS C++ 2017 Accepted 78 ms 4100 KB
143058643 Jan/17/2022 07:48 UESTC_IWLVNVN_Official: VirtuaReal_Nana7mi, Jeff_Lee, psk011102# G - Petr's Algorithm C++17 (GCC 9-64) Accepted 31 ms 400 KB
347487347 Nov/05/2025 05:38 dineshreddy25 G - Petr's Algorithm C++23 (GCC 14-64, msys2) Accepted 77 ms 0 KB
279769102 Sep/04/2024 10:49 salty9 G - Petr's Algorithm C++20 (GCC 13-64) Accepted 61 ms 300 KB
132832018 Oct/24/2021 08:14 你这八哥挺能藏啊: salem_tail, omemi, Acruse# G - Petr's Algorithm C++14 (GCC 6-32) Accepted 46 ms 1400 KB
230052335 Oct/27/2023 19:48 Overflowed: helcsnewsxd, CarusoX, MateoCV# G - Petr's Algorithm C++20 (GCC 11-64) Accepted 171 ms 700 KB
128670854 Sep/12/2021 21:48 UCF Kamino: Xylenox, SecondThread, Harpae# G - Petr's Algorithm Java 8 Accepted 139 ms 19900 KB
305061506 Feb/09/2025 05:31 vjudge5 G - Petr's Algorithm C++17 (GCC 7-32) Accepted 62 ms 800 KB
347487164 Nov/05/2025 05:34 CRqwq G - Petr's Algorithm C++23 (GCC 14-64, msys2) Accepted 62 ms 0 KB
279453450 Sep/03/2024 13:15 vjudge5 G - Petr's Algorithm C++20 (GCC 13-64) Accepted 62 ms 100 KB
143095892 Jan/17/2022 12:10 flukehn# G - Petr's Algorithm C++20 (GCC 11-64) Accepted 31 ms 400 KB
129856462 Sep/25/2021 16:37 NYCU_Eclipse: coldEr66, RosaRosa, LiPro# G - Petr's Algorithm C++17 (GCC 7-32) Accepted 46 ms 4000 KB
279450796 Sep/03/2024 12:50 vjudge3 G - Petr's Algorithm C++20 (GCC 13-64) Accepted 77 ms 800 KB
164563738 Jul/17/2022 05:43 UESTC_MagicalGirls: forgottencsc, Sugarii, axs7384# G - Petr's Algorithm C++17 (GCC 9-64) Accepted 62 ms 1200 KB
131032750 Oct/07/2021 08:44 Sutaner# G - Petr's Algorithm C++17 (GCC 7-32) Accepted 31 ms 5500 KB
305423185 Feb/10/2025 10:24 hyfhaha G - Petr's Algorithm C++17 (GCC 7-32) Accepted 93 ms 800 KB
132426028 Oct/19/2021 13:26 NYCU_White_Rushia_Boing_Boing: vincent97198, henrytsui, SorahISA# G - Petr's Algorithm C++20 (GCC 11-64) Accepted 30 ms 0 KB
165640947 Jul/25/2022 10:41 zara1234 G - Petr's Algorithm C++17 (GCC 7-32) Accepted 124 ms 400 KB
128083709 Sep/07/2021 01:33 MIT $(^w^)$: Benq, C_SUNSHINE, sqrtdecompton# G - Petr's Algorithm C++17 (GCC 7-32) Accepted 124 ms 4000 KB
172234269 Sep/15/2022 14:24 vjudge1 G - Petr's Algorithm C++17 (GCC 7-32) Accepted 46 ms 1600 KB
341423158 Oct/02/2025 05:13 Lucky☆Star: max67, QAQ_QWQ, wind_cross# G - Petr's Algorithm C++17 (GCC 7-32) Accepted 61 ms 1200 KB
191532480 Feb/01/2023 15:57 loK10# G - Petr's Algorithm C++20 (GCC 11-64) Accepted 15 ms 400 KB
128550473 Sep/12/2021 07:49 Planet: jzqjzq, Zztrans, SuperSodaSea# G - Petr's Algorithm C++17 (GCC 9-64) Accepted 31 ms 12100 KB
128500165 Sep/11/2021 14:36 PPP: trabbbart, Piurko, teapotd# G - Petr's Algorithm C++17 (GCC 9-64) Accepted 46 ms 4200 KB
238240295 Dec/21/2023 12:47 dimss# G - Petr's Algorithm C++20 (GCC 11-64) Accepted 156 ms 1900 KB
305063181 Feb/09/2025 06:10 vjudge4 G - Petr's Algorithm C++20 (GCC 13-64) Accepted 77 ms 7900 KB
173602407 Sep/26/2022 19:05 vjudge2 G - Petr's Algorithm C++17 (GCC 9-64) Accepted 31 ms 400 KB
213019143 Jul/09/2023 22:44 hsanda G - Petr's Algorithm Python 3 Accepted 93 ms 14200 KB
310740140 Mar/15/2025 18:01 imhighshou G - Petr's Algorithm C++23 (GCC 14-64, msys2) Accepted 93 ms 3900 KB
131982442 Oct/15/2021 02:29 【】: Clovers, SuffixBalancedTree# G - Petr's Algorithm C++17 (GCC 9-64) Accepted 46 ms 400 KB
128901027 Sep/15/2021 15:18 hos.lyric# G - Petr's Algorithm C++17 (GCC 9-64) Accepted 265 ms 5000 KB
129340520 Sep/20/2021 17:19 Chilliboys: ArtyomTsepov, reshke, Friska# G - Petr's Algorithm C++17 (GCC 9-64) Accepted 31 ms 10100 KB
279460860 Sep/03/2024 14:22 vjudge2 G - Petr's Algorithm C++17 (GCC 7-32) Accepted 218 ms 4000 KB
212551846 Jul/07/2023 15:13 Dungeon Thread: programmer228, RED_INSIDE, Septimelon# G - Petr's Algorithm C++17 (GCC 9-64) Accepted 124 ms 800 KB
129128814 Sep/18/2021 09:16 Oscar: roylin506, lolainta, ZoLArk173# G - Petr's Algorithm C++17 (GCC 7-32) Accepted 61 ms 4400 KB
128537931 Sep/12/2021 00:20 ..vince# G - Petr's Algorithm C++14 (GCC 6-32) Accepted 46 ms 3700 KB
284831977 Oct/07/2024 21:44 anpoli99 G - Petr's Algorithm C++23 (GCC 14-64, msys2) Accepted 77 ms 500 KB
238000078 Dec/19/2023 18:34 eZermelo# G - Petr's Algorithm C++20 (GCC 11-64) Accepted 31 ms 800 KB
279771701 Sep/04/2024 11:12 Ragibshahrier123 G - Petr's Algorithm C++20 (GCC 13-64) Accepted 77 ms 700 KB
132496431 Oct/20/2021 09:06 ggggg: zs__std, czfls_huzhiyao, Fuko_Ibuki# G - Petr's Algorithm C++17 (GCC 7-32) Accepted 31 ms 10000 KB
129730456 Sep/24/2021 08:59 Winning Opportunity: cwb_sb, myx12345# G - Petr's Algorithm C++14 (GCC 6-32) Accepted 62 ms 4400 KB
279771252 Sep/04/2024 11:08 Ragibshahrier123 G - Petr's Algorithm C++17 (GCC 7-32) Accepted 77 ms 100 KB
200470101 Apr/02/2023 21:59 egor4444ik G - Petr's Algorithm Java 17 Accepted 202 ms 600 KB
305079514 Feb/09/2025 09:52 silicalet G - Petr's Algorithm Rust 2021 Accepted 77 ms 5900 KB
226273794 Oct/02/2023 12:53 Mirali777# G - Petr's Algorithm C++20 (GCC 11-64) Accepted 31 ms 1200 KB
314448245 Apr/08/2025 08:45 FTL8_SLB: Brovko, Lankin, shnirelman# G - Petr's Algorithm C++20 (GCC 13-64) Accepted 62 ms 0 KB
Sort by: