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
249883384 Mar/06/2024 07:05 vjudge.2 G - Count Permutations C++17 (GCC 9-64) Accepted 46 ms 5100 KB
339008817 Sep/17/2025 03:14 Kaoruko.Waguri G - Count Permutations C++20 (GCC 13-64) Accepted 93 ms 172200 KB
364139410 Feb/24/2026 04:08 DangKhoi2809 G - Count Permutations C++23 (GCC 14-64, msys2) Accepted 93 ms 4100 KB
168952739 Aug/19/2022 13:29 vjudge3 G - Count Permutations C++20 (GCC 11-64) Accepted 139 ms 9800 KB
16266217 Feb/21/2016 21:50 singhpk_234 G - Count Permutations GNU C++11 Accepted 78 ms 8200 KB
19050153 Jul/12/2016 14:56 Vladik# G - Count Permutations GNU C++11 Accepted 124 ms 17700 KB
18886247 Jul/04/2016 19:17 netman# G - Count Permutations GNU C++11 Accepted 93 ms 5200 KB
27883228 Jun/18/2017 14:11 xarshila_# G - Count Permutations C++14 (GCC 6-32) Accepted 140 ms 3900 KB
295334334 Dec/07/2024 07:15 _user2108 G - Count Permutations C++17 (GCC 7-32) Accepted 140 ms 8800 KB
337108201 Sep/06/2025 10:51 homenicknorval G - Count Permutations C++23 (GCC 14-64, msys2) Accepted 93 ms 4100 KB
248832602 Feb/29/2024 07:24 vjudge5 G - Count Permutations C++17 (GCC 7-32) Accepted 109 ms 5100 KB
358891500 Jan/20/2026 12:04 marvnez9999z G - Count Permutations C++23 (GCC 14-64, msys2) Accepted 109 ms 400 KB
319936796 May/16/2025 21:31 nguyenvietanhCNH G - Count Permutations C++17 (GCC 7-32) Accepted 140 ms 4100 KB
9617255 Jan/29/2015 19:01 alex_y# G - Count Permutations Java 7 Accepted 327 ms 3400 KB
9770928 Feb/08/2015 15:03 Snezhok G - Count Permutations GNU C++ Accepted 420 ms 102900 KB
393338943 Oct/06/2026 00:25 Laboratory G - Count Permutations C++23 (GCC 14-64, msys2) Accepted 62 ms 3900 KB
17499941 Apr/25/2016 01:36 BAM: Badry, MedoN11# G - Count Permutations GNU C++11 Accepted 124 ms 6100 KB
9638258 Jan/31/2015 10:38 zxc901# G - Count Permutations GNU C++0x Accepted 78 ms 3900 KB
309692201 Mar/10/2025 04:07 SP_Caramen G - Count Permutations C++23 (GCC 14-64, msys2) Accepted 109 ms 16600 KB
344584030 Oct/19/2025 07:39 kyanhdang G - Count Permutations C++17 (GCC 7-32) Accepted 125 ms 4400 KB
286438912 Oct/17/2024 22:05 SpyroK05 G - Count Permutations C++23 (GCC 14-64, msys2) Accepted 77 ms 4300 KB
345287058 Oct/23/2025 08:51 mohitdmark G - Count Permutations C++17 (GCC 7-32) Accepted 186 ms 7800 KB
347439940 Nov/04/2025 19:44 nqc G - Count Permutations C++17 (GCC 7-32) Accepted 202 ms 1400 KB
62236262 Oct/10/2019 02:01 vjudge3 G - Count Permutations GNU C++11 Accepted 171 ms 3900 KB
345725944 Oct/25/2025 13:12 Cryomenase G - Count Permutations C++20 (GCC 13-64) Accepted 124 ms 100 KB
295760902 Dec/09/2024 17:24 camnhungcute G - Count Permutations C++17 (GCC 7-32) Accepted 327 ms 4400 KB
374893321 May/17/2026 06:56 ntkiet22092010 G - Count Permutations C++17 (GCC 7-32) Accepted 171 ms 12900 KB
248832649 Feb/29/2024 07:25 SneiderQuintero G - Count Permutations C++20 (GCC 11-64) Accepted 124 ms 5100 KB
337915638 Sep/10/2025 10:55 wakan_iz_za_bezt G - Count Permutations C++20 (GCC 13-64) Accepted 77 ms 1400 KB
343723059 Oct/14/2025 18:05 Hasibur_Rahmen G - Count Permutations C++17 (GCC 7-32) Accepted 140 ms 1400 KB
348849132 Nov/14/2025 10:51 sidat# G - Count Permutations C++23 (GCC 14-64, msys2) Accepted 187 ms 2700 KB
394409287 Oct/13/2026 17:20 hoangnghiaviet2003 G - Count Permutations C++20 (GCC 13-64) Accepted 109 ms 4100 KB
99746473 Nov/27/2020 22:47 vjudge3 G - Count Permutations C++14 (GCC 6-32) Accepted 467 ms 205200 KB
42294086 Aug/31/2018 04:01 DougNobrega G - Count Permutations GNU C++11 Accepted 93 ms 8200 KB
23252319 Dec/23/2016 19:54 hungryfool G - Count Permutations GNU C++ Accepted 171 ms 22600 KB
42293508 Aug/31/2018 03:07 DougNobrega G - Count Permutations GNU C++11 Accepted 77 ms 8200 KB
279487267 Sep/03/2024 17:35 phuoctik24 G - Count Permutations C++17 (GCC 7-32) Accepted 124 ms 8800 KB
13874607 Oct/26/2015 18:00 RamTararam G - Count Permutations GNU C++11 Accepted 156 ms 8200 KB
12733008 Aug/28/2015 18:45 gautam94 G - Count Permutations GNU C++11 Accepted 109 ms 4100 KB
12733027 Aug/28/2015 18:47 gautam94 G - Count Permutations GNU C++ Accepted 109 ms 4100 KB
364138472 Feb/24/2026 03:43 DangKhoi2809 G - Count Permutations C++23 (GCC 14-64, msys2) Accepted 78 ms 4100 KB
124950877 Aug/05/2021 14:37 vjudge3 G - Count Permutations C++17 (GCC 9-64) Accepted 77 ms 9300 KB
332757928 Aug/07/2025 12:29 ngokhanhgeo2710 G - Count Permutations C++20 (GCC 13-64) Accepted 61 ms 4200 KB
41926718 Aug/21/2018 10:52 AnisParvez G - Count Permutations GNU C++11 Accepted 421 ms 205200 KB
334972553 Aug/22/2025 04:17 longduong G - Count Permutations C++20 (GCC 13-64) Accepted 155 ms 4600 KB
350272348 Nov/23/2025 07:30 imkeeray G - Count Permutations C++17 (GCC 7-32) Accepted 108 ms 156600 KB
355787985 Dec/29/2025 20:02 NgoVanDuy G - Count Permutations C++23 (GCC 14-64, msys2) Accepted 62 ms 4200 KB
19050046 Jul/12/2016 14:52 kefaa# G - Count Permutations GNU C++11 Accepted 78 ms 3800 KB
99746761 Nov/27/2020 22:55 Tapojit047 G - Count Permutations C++14 (GCC 6-32) Accepted 467 ms 205200 KB
314263913 Apr/06/2025 18:05 ExtraStageLover G - Count Permutations C++17 (GCC 7-32) Accepted 155 ms 3900 KB
Sort by: