結果
| 問題 | No.3387 23578 Sequence |
| コンテスト | |
| ユーザー |
kidodesu
|
| 提出日時 | 2025-11-28 21:38:43 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 41 ms / 2,000 ms |
| コード長 | 132 bytes |
| コンパイル時間 | 379 ms |
| コンパイル使用メモリ | 82,500 KB |
| 実行使用メモリ | 53,556 KB |
| 最終ジャッジ日時 | 2025-11-28 21:38:56 |
| 合計ジャッジ時間 | 2,690 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 28 |
ソースコード
n = int(input())
A = list(map(int, input().split()))
B = [A[i]+A[-1-i] for i in range(n)]
print("Yes" if min(B) == max(B) else "No")
kidodesu