結果
問題 |
No.406 鴨等間隔の法則
|
ユーザー |
|
提出日時 | 2020-07-31 11:16:12 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
RE
|
実行時間 | - |
コード長 | 162 bytes |
コンパイル時間 | 132 ms |
コンパイル使用メモリ | 12,544 KB |
実行使用メモリ | 21,608 KB |
最終ジャッジ日時 | 2024-07-06 00:17:00 |
合計ジャッジ時間 | 3,640 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | RE * 3 |
other | RE * 29 |
ソースコード
n=int(input()) a=sorted(list(map(int,input().split()))) b=set([a[i+1]-a[i] for i in range(n-1)]) if len(s)!=1 or pop(b)==0: print('NO') else: print('YES')