結果

問題 No.998 Four Integers
ユーザー netyo715netyo715
提出日時 2021-06-28 11:29:29
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
AC  
実行時間 34 ms / 1,000 ms
コード長 146 bytes
コンパイル時間 113 ms
コンパイル使用メモリ 12,800 KB
実行使用メモリ 10,752 KB
最終ジャッジ日時 2024-06-25 12:07:23
合計ジャッジ時間 1,710 ms
ジャッジサーバーID
(参考情報)
judge3 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 23
権限があれば一括ダウンロードができます

ソースコード

diff #

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