提出 #18740195


ソースコード 拡げる

n = int(input())
n -= 1
ans = 1; r = 11
for i in range(n, n - r, -1):
    ans *= i
lln = 1
for i in range(1, 12):
    lln *= i
ans //= lln
print(ans)

提出情報

提出日時
問題 C - Duodecim Ferra
ユーザ saarang
言語 Python (3.8.2)
得点 300
コード長 160 Byte
結果 AC
実行時間 26 ms
メモリ 9096 KiB

ジャッジ結果

セット名 Sample All
得点 / 配点 0 / 0 300 / 300
結果
AC × 3
AC × 16
セット名 テストケース
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
ケース名 結果 実行時間 メモリ
handmade_00.txt AC 20 ms 9092 KiB
handmade_01.txt AC 18 ms 8928 KiB
handmade_02.txt AC 17 ms 8988 KiB
random_00.txt AC 18 ms 8980 KiB
random_01.txt AC 21 ms 8828 KiB
random_02.txt AC 17 ms 8824 KiB
random_03.txt AC 19 ms 9092 KiB
random_04.txt AC 24 ms 8920 KiB
random_05.txt AC 24 ms 8824 KiB
random_06.txt AC 18 ms 9096 KiB
random_07.txt AC 20 ms 8884 KiB
random_08.txt AC 18 ms 8980 KiB
random_09.txt AC 17 ms 8828 KiB
sample_01.txt AC 18 ms 9096 KiB
sample_02.txt AC 26 ms 8984 KiB
sample_03.txt AC 22 ms 8824 KiB