結果

問題 No.998 Four Integers
ユーザー yomo3
提出日時 2020-02-29 02:08:42
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
AC  
実行時間 31 ms / 1,000 ms
コード長 122 bytes
コンパイル時間 154 ms
コンパイル使用メモリ 12,544 KB
実行使用メモリ 10,624 KB
最終ジャッジ日時 2024-11-30 23:13:09
合計ジャッジ時間 1,713 ms
ジャッジサーバーID
(参考情報)
judge4 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 23
権限があれば一括ダウンロードができます

ソースコード

diff #

A = sorted(map(int, input().split()))
yes = (A[1] - A[0] == A[2] - A[1] == A[3] - A[2] == 1)
print('Yes' if yes else 'No')
0