結果
| 問題 | No.287 場合の数 |
| コンテスト | |
| ユーザー |
maspy
|
| 提出日時 | 2020-01-03 02:52:12 |
| 言語 | Python3 (3.14.3 + numpy 2.4.4 + scipy 1.17.1) |
| 結果 |
AC
|
| 実行時間 | 510 ms / 5,000 ms |
| コード長 | 269 bytes |
| 記録 | |
| コンパイル時間 | 471 ms |
| コンパイル使用メモリ | 20,828 KB |
| 実行使用メモリ | 35,156 KB |
| 最終ジャッジ日時 | 2026-05-16 18:51:38 |
| 合計ジャッジ時間 | 14,444 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge4_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 22 |
ソースコード
import sys
read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines
import numpy as np
N = int(read())
x = np.ones(N+1,np.int64)
y = x.copy()
for _ in range(7):
y = np.convolve(x,y)
answer = y[6*N]
print(answer)
maspy