結果
| 問題 |
No.406 鴨等間隔の法則
|
| コンテスト | |
| ユーザー |
310icecrystal
|
| 提出日時 | 2023-06-10 20:49:39 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 162 bytes |
| コンパイル時間 | 445 ms |
| コンパイル使用メモリ | 82,176 KB |
| 実行使用メモリ | 83,712 KB |
| 最終ジャッジ日時 | 2025-01-03 01:41:32 |
| 合計ジャッジ時間 | 4,644 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | WA * 3 |
| other | WA * 29 |
ソースコード
N = int(input())
x = list(map(int,input().split()))
x.sort()
S = set()
for i in range(N-1):
S.add(x[i+1]-x[i])
if len(S) == 1:
print("Yes")
else:
print("No")
310icecrystal