結果
問題 |
No.1081 和の和
|
ユーザー |
![]() |
提出日時 | 2020-07-13 13:12:18 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
WA
|
実行時間 | - |
コード長 | 161 bytes |
コンパイル時間 | 188 ms |
コンパイル使用メモリ | 12,672 KB |
実行使用メモリ | 10,880 KB |
最終ジャッジ日時 | 2024-11-07 11:15:18 |
合計ジャッジ時間 | 1,093 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 WA * 1 |
other | WA * 8 |
ソースコード
N = int(input()) A = [int(i) for i in input().split()] while len(A) > 1: for j in range(1,N): A.append(A[j-1]+A[j]) del A[0:N] N-=1 print(*A)