結果
| 問題 | No.3387 23578 Sequence |
| コンテスト | |
| ユーザー |
vjudge1
|
| 提出日時 | 2026-02-09 01:22:15 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
AC
|
| 実行時間 | 62 ms / 2,000 ms |
| コード長 | 222 bytes |
| 記録 | |
| コンパイル時間 | 327 ms |
| コンパイル使用メモリ | 82,208 KB |
| 実行使用メモリ | 54,096 KB |
| 最終ジャッジ日時 | 2026-02-09 01:22:19 |
| 合計ジャッジ時間 | 3,230 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 28 |
ソースコード
t = int(input())
arr = list(map(int,input().split()))
count = 0
newarr = []
n = t-1
while count!=t:
newarr.append(arr[count]+arr[n])
count+=1
n-=1
if len(set(newarr))==1:
print("Yes")
else:
print("No")
vjudge1