結果
問題 |
No.780 オフ会
|
ユーザー |
![]() |
提出日時 | 2019-02-10 15:36:30 |
言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 241 bytes |
コンパイル時間 | 1,235 ms |
コンパイル使用メモリ | 157,692 KB |
実行使用メモリ | 5,376 KB |
最終ジャッジ日時 | 2024-07-06 10:35:14 |
合計ジャッジ時間 | 1,837 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 23 |
ソースコード
#include "bits/stdc++.h" using namespace std; #define ll long long int int main() { cin.tie(0); ios::sync_with_stdio(false); int a,b; cin >> a >> b; cout << (a<b?"YES":"NO") << endl << abs(b-a-1) << endl; return 0; }