結果
問題 |
No.780 オフ会
|
ユーザー |
![]() |
提出日時 | 2020-02-21 02:48:21 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 31 ms / 2,000 ms |
コード長 | 196 bytes |
コンパイル時間 | 261 ms |
コンパイル使用メモリ | 12,416 KB |
実行使用メモリ | 10,624 KB |
最終ジャッジ日時 | 2024-10-08 19:39:12 |
合計ジャッジ時間 | 1,630 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 23 |
ソースコード
a, b = map(int, input().split()) if a == b: alone = True c = 1 if a < b: alone = False c = b - a - 1 if a > b: alone = True c = a - b + 1 print("YNEOS"[alone::2]) print(c)