結果

問題 No.780 オフ会
ユーザー monburan_0401
提出日時 2019-05-02 01:06:30
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
AC  
実行時間 33 ms / 2,000 ms
コード長 184 bytes
コンパイル時間 378 ms
コンパイル使用メモリ 12,800 KB
実行使用メモリ 10,752 KB
最終ジャッジ日時 2024-12-31 12:50:10
合計ジャッジ時間 2,232 ms
ジャッジサーバーID
(参考情報)
judge4 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 23
権限があれば一括ダウンロードができます

ソースコード

diff #

# coding utf-8

s = str(input())

men = int(s.split(" ")[0])
women = int(s.split(" ")[1])

pair = women - (men+1)
if pair < 0:
    print("NO")
else:
    print("YES")

print(abs(pair))
0