結果

問題 No.998 Four Integers
ユーザー otsunekootsuneko
提出日時 2021-05-14 10:02:33
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 35 ms / 1,000 ms
コード長 160 bytes
コンパイル時間 1,390 ms
コンパイル使用メモリ 82,688 KB
実行使用メモリ 51,840 KB
最終ジャッジ日時 2024-10-01 13:52:57
合計ジャッジ時間 2,559 ms
ジャッジサーバーID
(参考情報)
judge4 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 23
権限があれば一括ダウンロードができます

ソースコード

diff #

l = list(map(int,input().split()))
l.sort()

for i in range(len(l)-1):
    if l[i+1]-l[i] != 1:
        print("No")
        break
else:
    print("Yes")
0