結果

問題 No.998 Four Integers
ユーザー aaaaaaaaaa2230
提出日時 2022-04-05 21:48:17
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 46 ms / 1,000 ms
コード長 130 bytes
コンパイル時間 289 ms
コンパイル使用メモリ 82,304 KB
実行使用メモリ 52,096 KB
最終ジャッジ日時 2024-11-27 06:09:43
合計ジャッジ時間 2,656 ms
ジャッジサーバーID
(参考情報)
judge2 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 23
権限があれば一括ダウンロードができます

ソースコード

diff #

L = sorted(map(int,input().split()))
for a,na in zip(L,L[1:]):
    if na - a != 1:
        print("No")
        exit()
print("Yes")
0