Please subscribe to the official Codeforces channel in Telegram via the link https://t.me/codeforces_official. ×
Problem G - Count Permutations
 
 
 
 
Contest status
 
 
# When Who Problem Lang Verdict Time Memory
9771003 Feb/08/2015 15:11 Snezhok G - Count Permutations GNU C++ Accepted 124 ms 5200 KB
12425345 Aug/09/2015 14:41 vjudge3 G - Count Permutations GNU C++ Accepted 499 ms 3700 KB
321330553 May/26/2025 09:47 niettraan G - Count Permutations C++23 (GCC 14-64, msys2) Accepted 327 ms 164200 KB
358027621 Jan/16/2026 04:56 Haught_Veath G - Count Permutations C++23 (GCC 14-64, msys2) Accepted 93 ms 17500 KB
328841333 Jul/14/2025 05:50 ngoxuandat345 G - Count Permutations C++20 (GCC 13-64) Accepted 46 ms 4200 KB
280682734 Sep/11/2024 07:55 vjudge3 G - Count Permutations C++17 (GCC 7-32) Accepted 515 ms 131400 KB
290268098 Nov/06/2024 18:46 lmd_ G - Count Permutations C++23 (GCC 14-64, msys2) Accepted 108 ms 4100 KB
12410772 Aug/08/2015 10:06 vjudge1 G - Count Permutations GNU C++ Accepted 124 ms 10300 KB
308613187 Mar/02/2025 10:34 eRali G - Count Permutations C++23 (GCC 14-64, msys2) Accepted 109 ms 200 KB
337889669 Sep/10/2025 05:38 thhna.huyne G - Count Permutations C++20 (GCC 13-64) Accepted 77 ms 4200 KB
15814931 Feb/05/2016 01:13 r3gz3n G - Count Permutations GNU C++11 Accepted 373 ms 164200 KB
325218617 Jun/20/2025 05:10 vjudge4 G - Count Permutations C++17 (GCC 7-32) Accepted 108 ms 5200 KB
325218686 Jun/20/2025 05:10 vjudge.8 G - Count Permutations C++17 (GCC 7-32) Accepted 108 ms 5200 KB
349049618 Nov/15/2025 08:56 Electro_Valkyrie# G - Count Permutations C++23 (GCC 14-64, msys2) Accepted 218 ms 3900 KB
325218922 Jun/20/2025 05:14 mcsar2002 G - Count Permutations C++20 (GCC 13-64) Accepted 124 ms 5700 KB
313721332 Apr/03/2025 14:03 nguyenhoangthongnbk2006 G - Count Permutations C++17 (GCC 7-32) Accepted 140 ms 4200 KB
348493874 Nov/11/2025 18:23 hihihi1 G - Count Permutations C++17 (GCC 7-32) Accepted 186 ms 10300 KB
71834881 Feb/25/2020 08:02 zxcv_1 G - Count Permutations C++14 (GCC 6-32) Accepted 156 ms 5400 KB
333022678 Aug/08/2025 17:27 tranlong3108 G - Count Permutations C++17 (GCC 7-32) Accepted 249 ms 1900 KB
336613834 Sep/02/2025 14:57 MaliceX G - Count Permutations PyPy 3-64 Accepted 624 ms 23700 KB
27881989 Jun/18/2017 12:59 xosrika# G - Count Permutations C++14 (GCC 6-32) Accepted 217 ms 375700 KB
349395594 Nov/17/2025 11:14 Ductai2010 G - Count Permutations C++17 (GCC 7-32) Accepted 140 ms 6400 KB
371096228 Apr/14/2026 11:03 dminhnguyen0810 G - Count Permutations C++20 (GCC 13-64) Accepted 109 ms 4700 KB
43901744 Oct/06/2018 15:44 vjudge4 G - Count Permutations GNU C++11 Accepted 140 ms 4100 KB
20478084 Sep/09/2016 15:27 I_wanna_be_the_Moses G - Count Permutations GNU C++11 Accepted 109 ms 9800 KB
295499763 Dec/08/2024 10:13 ZhangShan G - Count Permutations C++20 (GCC 13-64) Accepted 108 ms 5200 KB
284172123 Oct/03/2024 15:53 nguyen_vo_viet_hoang G - Count Permutations C++20 (GCC 13-64) Accepted 93 ms 4200 KB
292698980 Nov/22/2024 05:08 Nguyen_Tu G - Count Permutations C++17 (GCC 7-32) Accepted 124 ms 8300 KB
145099336 Feb/04/2022 10:06 SoiMae G - Count Permutations C++14 (GCC 6-32) Accepted 31 ms 8600 KB
306595383 Feb/18/2025 01:21 codingwK G - Count Permutations C++20 (GCC 13-64) Accepted 140 ms 4100 KB
359978162 Jan/26/2026 14:09 Hungtang G - Count Permutations C++20 (GCC 13-64) Accepted 78 ms 4200 KB
383076926 Jul/17/2026 09:43 Peli G - Count Permutations C++23 (GCC 14-64, msys2) Accepted 109 ms 5100 KB
99719572 Nov/27/2020 16:29 vjudge3 G - Count Permutations C++14 (GCC 6-32) Accepted 202 ms 17400 KB
313701896 Apr/03/2025 10:42 abcd_4321 G - Count Permutations C++23 (GCC 14-64, msys2) Accepted 78 ms 8300 KB
202341479 Apr/16/2023 11:30 manhle G - Count Permutations C++14 (GCC 6-32) Accepted 93 ms 4100 KB
280453621 Sep/09/2024 16:46 Dat_Luongg G - Count Permutations C++20 (GCC 13-64) Accepted 93 ms 6800 KB
9612868 Jan/29/2015 12:01 Na2a G - Count Permutations GNU C++0x Accepted 93 ms 3900 KB
295532882 Dec/08/2024 14:21 Yu_shanshan G - Count Permutations C++17 (GCC 7-32) Accepted 202 ms 4400 KB
370453651 Apr/09/2026 19:57 itscoreyhere G - Count Permutations C++17 (GCC 7-32) Accepted 78 ms 4200 KB
43342078 Sep/23/2018 21:14 LucasS# G - Count Permutations C++14 (GCC 6-32) Accepted 420 ms 8200 KB
390882344 Sep/16/2026 07:07 3LIT3 G - Count Permutations C++17 (GCC 7-32) Accepted 78 ms 4100 KB
13798815 Oct/22/2015 22:50 mrvedsachdeva G - Count Permutations GNU C++11 Accepted 171 ms 4400 KB
27235313 May/20/2017 15:41 codepitio3 G - Count Permutations GNU C++ Accepted 187 ms 3800 KB
27235324 May/20/2017 15:41 codepitio3 G - Count Permutations GNU C++ Accepted 187 ms 3900 KB
144075550 Jan/26/2022 16:44 Fellow_junior G - Count Permutations C++17 (GCC 7-32) Accepted 156 ms 4100 KB
281968429 Sep/20/2024 12:58 ghlhn2k4 G - Count Permutations C++20 (GCC 13-64) Accepted 124 ms 4200 KB
380694910 Jun/30/2026 15:48 dnamm1 G - Count Permutations C++20 (GCC 13-64) Accepted 203 ms 7800 KB
328918304 Jul/14/2025 17:42 Sunnyyyy2501 G - Count Permutations C++17 (GCC 7-32) Accepted 203 ms 4100 KB
307482829 Feb/24/2025 07:26 newbie9999 G - Count Permutations C++20 (GCC 13-64) Accepted 125 ms 1900 KB
380683972 Jun/30/2026 13:59 urmyCleopatra G - Count Permutations C++20 (GCC 13-64) Accepted 78 ms 4100 KB
Sort by: