結果

問題 No.780 オフ会
ユーザー HAGI_TAROHAGI_TARO
提出日時 2021-09-15 10:32:10
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 113 bytes
コンパイル時間 335 ms
コンパイル使用メモリ 87,176 KB
実行使用メモリ 71,624 KB
最終ジャッジ日時 2023-09-10 18:42:41
合計ジャッジ時間 3,048 ms
ジャッジサーバーID
(参考情報)
judge15 / judge11
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 AC 71 ms
70,752 KB
testcase_02 AC 71 ms
70,676 KB
testcase_03 AC 75 ms
70,840 KB
testcase_04 WA -
testcase_05 WA -
testcase_06 AC 69 ms
70,772 KB
testcase_07 WA -
testcase_08 WA -
testcase_09 AC 69 ms
70,960 KB
testcase_10 AC 72 ms
70,560 KB
testcase_11 WA -
testcase_12 AC 69 ms
70,892 KB
testcase_13 AC 71 ms
70,752 KB
testcase_14 WA -
testcase_15 WA -
testcase_16 AC 73 ms
70,696 KB
testcase_17 AC 69 ms
70,960 KB
testcase_18 WA -
testcase_19 AC 71 ms
70,828 KB
testcase_20 WA -
testcase_21 WA -
testcase_22 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

a,b = map(int,input().split())
if a < b:
    print("YES")
    print(b-a+1)
else:
    print("NO")
    print(a-b+1)
0