結果
| 問題 | No.780 オフ会 | 
| コンテスト | |
| ユーザー |  ui_mtc | 
| 提出日時 | 2020-01-28 21:24:05 | 
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) | 
| 結果 | 
                                WA
                                 
                             | 
| 実行時間 | - | 
| コード長 | 232 bytes | 
| コンパイル時間 | 1,548 ms | 
| コンパイル使用メモリ | 165,068 KB | 
| 実行使用メモリ | 5,376 KB | 
| 最終ジャッジ日時 | 2024-09-15 16:25:12 | 
| 合計ジャッジ時間 | 2,513 ms | 
| ジャッジサーバーID (参考情報) | judge4 / judge5 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| other | AC * 12 WA * 11 | 
ソースコード
#include <bits/stdc++.h>
#define int long long 
using namespace std;
signed main() {
  int A, B;
cin >> A >> B;
if( A+1 <= B ) cout << "YES" << endl;
else cout << "No" << endl;
cout << abs(A+1-B) << endl;
  
  
}
  
  
  
  
            
            
            
        