結果
問題 | No.780 オフ会 |
ユーザー |
|
提出日時 | 2019-02-17 23:00:28 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 30 ms / 2,000 ms |
コード長 | 253 bytes |
コンパイル時間 | 378 ms |
コンパイル使用メモリ | 12,544 KB |
実行使用メモリ | 10,624 KB |
最終ジャッジ日時 | 2024-10-02 03:24:49 |
合計ジャッジ時間 | 1,727 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 23 |
ソースコード
first = input() numStr = first.split() numStr[0] = int(numStr[0]) numStr[1] = int(numStr[1]) if numStr[0] + 1 - numStr[1] > 0 : print("NO") print(abs(numStr[0] + 1 - numStr[1])) else : print("YES") print(abs(numStr[0] + 1 - numStr[1]))