結果
| 問題 | No.3387 23578 Sequence |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2025-11-28 22:07:35 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
AC
|
| 実行時間 | 65 ms / 2,000 ms |
| + 628µs | |
| コード長 | 166 bytes |
| 記録 | |
| コンパイル時間 | 489 ms |
| コンパイル使用メモリ | 95,728 KB |
| 実行使用メモリ | 78,848 KB |
| 最終ジャッジ日時 | 2026-07-17 01:27:20 |
| 合計ジャッジ時間 | 4,005 ms |
|
ジャッジサーバーID (参考情報) |
judge2_1 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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")