結果

問題 No.998 Four Integers
ユーザー splash9494
提出日時 2020-05-04 19:41:00
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 37 ms / 1,000 ms
コード長 148 bytes
コンパイル時間 187 ms
コンパイル使用メモリ 82,924 KB
実行使用メモリ 53,316 KB
最終ジャッジ日時 2024-06-24 21:27:11
合計ジャッジ時間 1,884 ms
ジャッジサーバーID
(参考情報)
judge3 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 23
権限があれば一括ダウンロードができます

ソースコード

diff #

nums = sorted(list(map(int, input().split())))

for i in range(3):
    if nums[i] != nums[i+1] - 1:
        print('No')
        exit()
print('Yes')
0