結果
| 問題 | No.3387 23578 Sequence |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2025-11-28 22:07:35 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 62 ms / 2,000 ms |
| コード長 | 166 bytes |
| コンパイル時間 | 240 ms |
| コンパイル使用メモリ | 82,144 KB |
| 実行使用メモリ | 53,636 KB |
| 最終ジャッジ日時 | 2025-11-28 22:07:47 |
| 合計ジャッジ時間 | 3,168 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 28 |
ソースコード
n = int(input())
a = list(map(int,input().split()))
cum = a[0]+a[n-1]
for i in range(n):
if a[i] +a[n-i-1] != cum:
print("No")
exit()
print("Yes")