結果
問題 |
No.780 オフ会
|
ユーザー |
|
提出日時 | 2019-02-17 22:58:18 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
WA
|
実行時間 | - |
コード長 | 248 bytes |
コンパイル時間 | 89 ms |
コンパイル使用メモリ | 12,416 KB |
実行使用メモリ | 10,624 KB |
最終ジャッジ日時 | 2024-10-02 03:10:58 |
合計ジャッジ時間 | 1,629 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 12 WA * 11 |
ソースコード
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(numStr[0] + 1 - numStr[1])