結果
問題 |
No.780 オフ会
|
ユーザー |
|
提出日時 | 2019-03-18 20:36:41 |
言語 | C++17(clang) (17.0.6 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 355 bytes |
コンパイル時間 | 2,308 ms |
コンパイル使用メモリ | 162,304 KB |
実行使用メモリ | 5,248 KB |
最終ジャッジ日時 | 2024-11-30 13:43:36 |
合計ジャッジ時間 | 2,698 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
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; }