結果
問題 |
No.1081 和の和
|
ユーザー |
![]() |
提出日時 | 2020-06-19 21:24:34 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
WA
|
実行時間 | - |
コード長 | 163 bytes |
コンパイル時間 | 218 ms |
コンパイル使用メモリ | 12,544 KB |
実行使用メモリ | 10,752 KB |
最終ジャッジ日時 | 2024-07-03 13:41:15 |
合計ジャッジ時間 | 907 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 WA * 2 |
other | WA * 8 |
ソースコード
N = int(input()) A = list(map(int, input().split())) result = A[0] + A[1] for i in range(1, N - 1): result += A[i] * N result %= 1000000007 print(result)