結果
| 問題 | No.1102 Remnants |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2020-07-03 23:29:15 |
| 言語 | Python3 (3.14.3 + numpy 2.4.4 + scipy 1.17.1) |
| 結果 |
MLE
|
| 実行時間 | - |
| コード長 | 129 bytes |
| 記録 | |
| コンパイル時間 | 990 ms |
| コンパイル使用メモリ | 20,820 KB |
| 実行使用メモリ | 1,311,708 KB |
| 最終ジャッジ日時 | 2026-04-06 03:03:46 |
| 合計ジャッジ時間 | 3,156 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 2 MLE * 2 -- * 21 |
ソースコード
n,k,*a=map(int,open(0).read().split());m=10**9+7;d=1 for i in range(1,n):d*=(k+i)*pow(i,m-2,m);a[i]*=d;a[-i-1]*=d print(sum(a)%m)