結果
問題 |
No.780 オフ会
|
ユーザー |
|
提出日時 | 2019-03-18 20:35:33 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 355 bytes |
コンパイル時間 | 2,218 ms |
コンパイル使用メモリ | 191,684 KB |
最終ジャッジ日時 | 2025-01-06 23:30:22 |
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | WA * 23 |
ソースコード
#include <bits/stdc++.h> #define rep(i, n) for (int i = 0; i < n; i++) #define ll long long #define endl '\n' using namespace std; int main() { cin.tie(0); ios::sync_with_stdio(false); int a, b; cin >> a >> b; if (a < b) { puts("YES"); } else { puts("NO"); } cout << abs(a + 1 - b) << endl; return 0; }