結果
| 問題 |
No.780 オフ会
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2019-07-29 00:18:55 |
| 言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 227 bytes |
| コンパイル時間 | 2,070 ms |
| コンパイル使用メモリ | 192,528 KB |
| 最終ジャッジ日時 | 2025-01-07 09:52:31 |
|
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 11 WA * 12 |
ソースコード
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
int main() {
int a, b;
cin>>a>>b;
a++;
if (b >= a) puts("YES");
else {
puts("NO");
cout<<a-b<<endl;
}
return 0;
}