結果
問題 | No.780 オフ会 |
ユーザー | koba-e964 |
提出日時 | 2021-09-17 00:59:39 |
言語 | PyPy3 (7.3.15) |
結果 |
WA
|
実行時間 | - |
コード長 | 201 bytes |
コンパイル時間 | 293 ms |
コンパイル使用メモリ | 87,156 KB |
実行使用メモリ | 71,588 KB |
最終ジャッジ日時 | 2023-09-12 04:16:59 |
合計ジャッジ時間 | 3,567 ms |
ジャッジサーバーID (参考情報) |
judge14 / judge12 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 79 ms
71,292 KB |
testcase_01 | AC | 76 ms
71,288 KB |
testcase_02 | AC | 76 ms
71,200 KB |
testcase_03 | AC | 75 ms
71,404 KB |
testcase_04 | WA | - |
testcase_05 | WA | - |
testcase_06 | AC | 75 ms
71,048 KB |
testcase_07 | WA | - |
testcase_08 | WA | - |
testcase_09 | AC | 78 ms
71,316 KB |
testcase_10 | AC | 77 ms
71,200 KB |
testcase_11 | WA | - |
testcase_12 | AC | 76 ms
71,412 KB |
testcase_13 | AC | 77 ms
71,352 KB |
testcase_14 | WA | - |
testcase_15 | WA | - |
testcase_16 | AC | 78 ms
71,220 KB |
testcase_17 | AC | 77 ms
71,388 KB |
testcase_18 | WA | - |
testcase_19 | AC | 74 ms
71,320 KB |
testcase_20 | WA | - |
testcase_21 | WA | - |
testcase_22 | WA | - |
ソースコード
#!/usr/bin/env python3 import sys readline = sys.stdin.buffer.readline sys.setrecursionlimit(10 ** 7) a, b = map(int, input().split()) d = max(0, a + 1 - b) print('YES' if d == 0 else 'NO') print(d)