結果

問題 No.780 オフ会
ユーザー ABKZABKZ
提出日時 2021-07-22 00:02:30
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 119 bytes
コンパイル時間 1,476 ms
コンパイル使用メモリ 86,712 KB
実行使用メモリ 71,468 KB
最終ジャッジ日時 2023-09-24 13:32:48
合計ジャッジ時間 4,605 ms
ジャッジサーバーID
(参考情報)
judge14 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 71 ms
71,284 KB
testcase_01 AC 72 ms
71,428 KB
testcase_02 AC 72 ms
71,380 KB
testcase_03 AC 70 ms
71,276 KB
testcase_04 WA -
testcase_05 WA -
testcase_06 AC 72 ms
71,108 KB
testcase_07 WA -
testcase_08 WA -
testcase_09 AC 75 ms
71,248 KB
testcase_10 AC 73 ms
71,104 KB
testcase_11 WA -
testcase_12 AC 72 ms
71,300 KB
testcase_13 AC 74 ms
71,376 KB
testcase_14 WA -
testcase_15 WA -
testcase_16 AC 74 ms
71,156 KB
testcase_17 AC 75 ms
70,924 KB
testcase_18 WA -
testcase_19 AC 75 ms
71,388 KB
testcase_20 WA -
testcase_21 WA -
testcase_22 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

A, B = map(int, input().split())

if A < B:
    print("YES")
    print("0")
else:
    print("NO")
    print(A + 1 - B)
0