結果
| 問題 | No.780 オフ会 |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2021-09-17 00:59:39 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 201 bytes |
| 記録 | |
| コンパイル時間 | 143 ms |
| コンパイル使用メモリ | 85,360 KB |
| 実行使用メモリ | 53,936 KB |
| 最終ジャッジ日時 | 2026-03-19 07:27:37 |
| 合計ジャッジ時間 | 1,417 ms |
|
ジャッジサーバーID (参考情報) |
judge1_1 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 12 WA * 11 |
ソースコード
#!/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)