結果
| 問題 |
No.780 オフ会
|
| コンテスト | |
| ユーザー |
convexineq
|
| 提出日時 | 2021-03-16 09:23:53 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 41 ms / 2,000 ms |
| コード長 | 116 bytes |
| コンパイル時間 | 1,597 ms |
| コンパイル使用メモリ | 81,792 KB |
| 実行使用メモリ | 52,096 KB |
| 最終ジャッジ日時 | 2024-11-07 20:29:33 |
| 合計ジャッジ時間 | 1,952 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 23 |
ソースコード
a,b = map(int,input().split())
if 1+a <= b:
print("YES")
print(b-1-a)
else:
print("NO")
print(a+1-b)
convexineq