Submission #18736609


Source Code Expand

N = int(input())

def facto(a):
    num = 1
    for i in range(1,a+1):
        num *= i
    return num
x = N - 12
print(facto(x+11)// facto(x)//facto(11))

Submission Info

Submission Time
Task C - Duodecim Ferra
User noyan
Language Python (3.8.2)
Score 300
Code Size 162 Byte
Status AC
Exec Time 29 ms
Memory 9156 KiB

Judge Result

Set Name Sample All
Score / Max Score 0 / 0 300 / 300
Status
AC × 3
AC × 16
Set Name Test Cases
Sample sample_01.txt, sample_02.txt, sample_03.txt
All handmade_00.txt, handmade_01.txt, handmade_02.txt, random_00.txt, random_01.txt, random_02.txt, random_03.txt, random_04.txt, random_05.txt, random_06.txt, random_07.txt, random_08.txt, random_09.txt, sample_01.txt, sample_02.txt, sample_03.txt
Case Name Status Exec Time Memory
handmade_00.txt AC 18 ms 8852 KiB
handmade_01.txt AC 23 ms 9156 KiB
handmade_02.txt AC 19 ms 8856 KiB
random_00.txt AC 24 ms 8964 KiB
random_01.txt AC 22 ms 9020 KiB
random_02.txt AC 19 ms 8852 KiB
random_03.txt AC 27 ms 9152 KiB
random_04.txt AC 25 ms 9076 KiB
random_05.txt AC 19 ms 9028 KiB
random_06.txt AC 22 ms 9092 KiB
random_07.txt AC 20 ms 8856 KiB
random_08.txt AC 20 ms 8860 KiB
random_09.txt AC 29 ms 9076 KiB
sample_01.txt AC 18 ms 8852 KiB
sample_02.txt AC 21 ms 9008 KiB
sample_03.txt AC 24 ms 8972 KiB