結果
| 問題 | No.3387 23578 Sequence |
| コンテスト | |
| ユーザー |
detteiuu
|
| 提出日時 | 2025-11-28 21:21:05 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
AC
|
| 実行時間 | 64 ms / 2,000 ms |
| + 242µs | |
| コード長 | 146 bytes |
| 記録 | |
| コンパイル時間 | 271 ms |
| コンパイル使用メモリ | 96,104 KB |
| 実行使用メモリ | 78,976 KB |
| 最終ジャッジ日時 | 2026-07-17 00:50:51 |
| 合計ジャッジ時間 | 3,741 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge3_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 28 |
ソースコード
N = int(input())
A = list(map(int, input().split()))
S = set()
for i in range(N):
S.add(A[i]+A[N-1-i])
print("Yes" if len(S) == 1 else "No")
detteiuu