Submission #19724915


Source Code Expand

Copy
import math

L = int(input())

def combinations_count(n, r):
    return math.factorial(n) // (math.factorial(n - r) * math.factorial(r))



print(combinations_count(L-1, 11))

Submission Info

Submission Time
Task C - Duodecim Ferra
User Claus
Language Python (3.8.2)
Score 300
Code Size 185 Byte
Status AC
Exec Time 27 ms
Memory 9000 KB

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 22 ms 8756 KB
handmade_01.txt AC 18 ms 8772 KB
handmade_02.txt AC 19 ms 8976 KB
random_00.txt AC 27 ms 8916 KB
random_01.txt AC 20 ms 9000 KB
random_02.txt AC 20 ms 8768 KB
random_03.txt AC 20 ms 9000 KB
random_04.txt AC 18 ms 8768 KB
random_05.txt AC 23 ms 8768 KB
random_06.txt AC 24 ms 8888 KB
random_07.txt AC 21 ms 8764 KB
random_08.txt AC 20 ms 8720 KB
random_09.txt AC 18 ms 8912 KB
sample_01.txt AC 26 ms 8892 KB
sample_02.txt AC 19 ms 8980 KB
sample_03.txt AC 21 ms 8984 KB