結果
| 問題 | No.780 オフ会 |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2019-06-29 16:27:59 |
| 言語 | C++14 (gcc 15.2.0 + boost 1.89.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 198 bytes |
| 記録 | |
| コンパイル時間 | 495 ms |
| コンパイル使用メモリ | 88,036 KB |
| 実行使用メモリ | 7,848 KB |
| 最終ジャッジ日時 | 2026-03-23 09:52:23 |
| 合計ジャッジ時間 | 1,312 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 1 WA * 22 |
ソースコード
#include<iostream>
#include<algorithm>
#include<cmath>
using namespace std;
int main() {
int a,b;
cin >> a >> b;
if(a+1>=b) {
cout << "YES" << endl;
}
cout << abs((a+1)-b) << endl;
}