結果
問題 |
No.780 オフ会
|
ユーザー |
|
提出日時 | 2021-04-13 23:15:32 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 339 bytes |
コンパイル時間 | 2,690 ms |
コンパイル使用メモリ | 208,888 KB |
最終ジャッジ日時 | 2025-01-20 17:18:47 |
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 1 WA * 22 |
ソースコード
#pragma GCC optimize("O3") #include <bits/stdc++.h> using namespace std; int main(void) { cin.tie(0); ios::sync_with_stdio(false); int A,B; cin >> A >> B; A+=1; if(A>=B) { cout << "YES" << '\n'; } else { cout << "NO" << '\n'; } cout << abs(A-B) << '\n'; return 0; }