結果

問題 No.998 Four Integers
ユーザー syunsuke
提出日時 2020-03-28 11:39:48
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 41 ms / 1,000 ms
コード長 149 bytes
コンパイル時間 185 ms
コンパイル使用メモリ 82,188 KB
実行使用メモリ 53,756 KB
最終ジャッジ日時 2025-01-02 10:59:01
合計ジャッジ時間 1,971 ms
ジャッジサーバーID
(参考情報)
judge3 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 23
権限があれば一括ダウンロードができます

ソースコード

diff #

L=list(map(int,input().split()))
L.sort()
F=0
for i in range(1,4):
    if L[i]-L[i-1]!=1:
        F=1
if F==0:
    print("Yes")
else:
    print("No")
0