結果
問題 |
No.780 オフ会
|
ユーザー |
![]() |
提出日時 | 2022-08-17 10:57:58 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 198 bytes |
コンパイル時間 | 2,239 ms |
コンパイル使用メモリ | 193,140 KB |
最終ジャッジ日時 | 2025-01-30 23:23:59 |
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 12 WA * 11 |
ソースコード
#include <bits/stdc++.h> using namespace std; #define int long long signed main(){ int a,b; cin>>a>>b; if(a+1 <= b) cout<<"YES"<<endl; else cout<<"NO"<<endl; cout<<max(0ll,a+1-b)<<endl; }