結果
| 問題 | 
                            No.287 場合の数
                             | 
                    
| コンテスト | |
| ユーザー | 
                             maspy
                         | 
                    
| 提出日時 | 2020-01-03 02:52:12 | 
| 言語 | Python3  (3.13.1 + numpy 2.2.1 + scipy 1.14.1)  | 
                    
| 結果 | 
                             
                                AC
                                 
                             
                            
                         | 
                    
| 実行時間 | 513 ms / 5,000 ms | 
| コード長 | 269 bytes | 
| コンパイル時間 | 203 ms | 
| コンパイル使用メモリ | 12,800 KB | 
| 実行使用メモリ | 44,424 KB | 
| 最終ジャッジ日時 | 2024-11-22 18:53:41 | 
| 合計ジャッジ時間 | 14,373 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge3 / judge1 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| 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