Submission #33652061


Source Code Expand

mod = 998244353
def C(N):
    res = pow(2, N, mod)
    for i in range(N+2, 2*N+1):
        res *= i
        res %= mod
    return res
  
print(C(int(input())))

Submission Info

Submission Time
Task C - Split and Maximize
User arakaki_tokyo
Language Python (3.8.2)
Score 600
Code Size 167 Byte
Status AC
Exec Time 48 ms
Memory 9072 KiB

Judge Result

Set Name Sample All
Score / Max Score 0 / 0 600 / 600
Status
AC × 2
AC × 25
Set Name Test Cases
Sample 00_sample_01.txt, 00_sample_02.txt
All 00_sample_01.txt, 00_sample_02.txt, 01_small_01.txt, 01_small_02.txt, 01_small_03.txt, 01_small_04.txt, 01_small_05.txt, 02_random_01.txt, 02_random_02.txt, 02_random_03.txt, 02_random_04.txt, 02_random_05.txt, 02_random_06.txt, 02_random_07.txt, 02_random_08.txt, 02_random_09.txt, 02_random_10.txt, 02_random_11.txt, 02_random_12.txt, 02_random_13.txt, 02_random_14.txt, 02_random_15.txt, 02_random_16.txt, 02_random_17.txt, 02_random_18.txt
Case Name Status Exec Time Memory
00_sample_01.txt AC 22 ms 8808 KiB
00_sample_02.txt AC 23 ms 8820 KiB
01_small_01.txt AC 21 ms 8948 KiB
01_small_02.txt AC 17 ms 9068 KiB
01_small_03.txt AC 18 ms 8916 KiB
01_small_04.txt AC 16 ms 9068 KiB
01_small_05.txt AC 20 ms 8916 KiB
02_random_01.txt AC 29 ms 8956 KiB
02_random_02.txt AC 29 ms 9068 KiB
02_random_03.txt AC 23 ms 8968 KiB
02_random_04.txt AC 41 ms 8820 KiB
02_random_05.txt AC 23 ms 8972 KiB
02_random_06.txt AC 43 ms 8820 KiB
02_random_07.txt AC 42 ms 8900 KiB
02_random_08.txt AC 30 ms 8824 KiB
02_random_09.txt AC 41 ms 9044 KiB
02_random_10.txt AC 39 ms 8812 KiB
02_random_11.txt AC 43 ms 9072 KiB
02_random_12.txt AC 39 ms 8960 KiB
02_random_13.txt AC 45 ms 8820 KiB
02_random_14.txt AC 44 ms 8824 KiB
02_random_15.txt AC 43 ms 8968 KiB
02_random_16.txt AC 48 ms 8972 KiB
02_random_17.txt AC 43 ms 8960 KiB
02_random_18.txt AC 45 ms 8820 KiB