結果
| 問題 | No.3387 23578 Sequence |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2025-12-31 15:52:39 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
AC
|
| 実行時間 | 57 ms / 2,000 ms |
| + 18µs | |
| コード長 | 155 bytes |
| 記録 | |
| コンパイル時間 | 236 ms |
| コンパイル使用メモリ | 95,852 KB |
| 実行使用メモリ | 79,052 KB |
| 最終ジャッジ日時 | 2026-07-19 22:23:15 |
| 合計ジャッジ時間 | 3,674 ms |
|
ジャッジサーバーID (参考情報) |
judge3_1 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 28 |
ソースコード
n = int(input())
a = list(map(int, input().split()))
for i in range(n):
if a[i] + a[n - i - 1] != a[0] + a[-1]:
print("No")
exit()
print("Yes")