結果

問題 No.780 オフ会
ユーザー koba-e964
提出日時 2021-09-17 01:00:22
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 34 ms / 2,000 ms
コード長 202 bytes
コンパイル時間 144 ms
コンパイル使用メモリ 82,096 KB
実行使用メモリ 52,096 KB
最終ジャッジ日時 2024-06-29 17:18:33
合計ジャッジ時間 1,570 ms
ジャッジサーバーID
(参考情報)
judge5 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 23
権限があれば一括ダウンロードができます

ソースコード

diff #

#!/usr/bin/env python3

import sys
readline = sys.stdin.buffer.readline
sys.setrecursionlimit(10 ** 7)

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