結果
| 問題 |
No.1081 和の和
|
| コンテスト | |
| ユーザー |
c-yan
|
| 提出日時 | 2020-06-23 21:27:09 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 188 bytes |
| コンパイル時間 | 83 ms |
| コンパイル使用メモリ | 12,544 KB |
| 実行使用メモリ | 10,880 KB |
| 最終ジャッジ日時 | 2024-07-03 19:29:00 |
| 合計ジャッジ時間 | 952 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 WA * 1 |
| other | WA * 8 |
ソースコード
N = int(input())
A = list(map(int, input().split()))
t = A[:]
n = []
while len(t) != 1:
for i in range(len(t) - 1):
n.append(t[i] + t[i + 1])
t = n
n = []
print(t[0])
c-yan