結果
問題 | No.242 ビンゴゲーム |
ユーザー | ayaoni |
提出日時 | 2021-01-05 17:27:40 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 36 ms / 2,000 ms |
コード長 | 541 bytes |
コンパイル時間 | 200 ms |
コンパイル使用メモリ | 82,048 KB |
実行使用メモリ | 53,708 KB |
最終ジャッジ日時 | 2024-04-23 20:56:38 |
合計ジャッジ時間 | 1,169 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 35 ms
53,008 KB |
testcase_01 | AC | 36 ms
52,420 KB |
testcase_02 | AC | 35 ms
53,016 KB |
testcase_03 | AC | 34 ms
52,008 KB |
testcase_04 | AC | 35 ms
53,468 KB |
testcase_05 | AC | 35 ms
52,276 KB |
testcase_06 | AC | 34 ms
53,708 KB |
testcase_07 | AC | 34 ms
52,524 KB |
testcase_08 | AC | 34 ms
53,280 KB |
testcase_09 | AC | 34 ms
53,020 KB |
testcase_10 | AC | 36 ms
52,604 KB |
ソースコード
import sys sys.setrecursionlimit(10**7) def I(): return int(sys.stdin.readline().rstrip()) def MI(): return map(int,sys.stdin.readline().rstrip().split()) def LI(): return list(map(int,sys.stdin.readline().rstrip().split())) def LI2(): return list(map(int,sys.stdin.readline().rstrip())) def S(): return sys.stdin.readline().rstrip() def LS(): return list(sys.stdin.readline().rstrip().split()) def LS2(): return list(sys.stdin.readline().rstrip()) N = I() ans = 1 for i in range(5): ans *= N-i ans /= 99-i ans *= 12 print(ans)