結果

問題 No.998 Four Integers
ユーザー An_On
提出日時 2025-05-01 10:11:37
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
AC  
実行時間 31 ms / 1,000 ms
コード長 182 bytes
コンパイル時間 468 ms
コンパイル使用メモリ 12,288 KB
実行使用メモリ 10,240 KB
最終ジャッジ日時 2025-05-01 10:11:39
合計ジャッジ時間 2,539 ms
ジャッジサーバーID
(参考情報)
judge4 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 23
権限があれば一括ダウンロードができます

ソースコード

diff #

from collections import defaultdict

def Main():
    a=sorted(map(int,input().split()))
    if a[0]==a[1]-1==a[2]-2==a[3]-3:
        print("Yes")
    else:
        print("No")
Main()
0