結果
問題 | No.780 オフ会 |
ユーザー |
![]() |
提出日時 | 2023-11-14 22:39:28 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 37 ms / 2,000 ms |
コード長 | 123 bytes |
コンパイル時間 | 387 ms |
コンパイル使用メモリ | 82,284 KB |
実行使用メモリ | 53,436 KB |
最終ジャッジ日時 | 2024-09-26 04:20:41 |
合計ジャッジ時間 | 2,106 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 23 |
ソースコード
A,B = map(int,input().split()) if A+1<=B: print("YES") print(B-(A+1)) else: print("NO") print(abs((A+1)-B))