結果
問題 |
No.780 オフ会
|
ユーザー |
![]() |
提出日時 | 2022-07-11 16:24:05 |
言語 | C++23 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 196 bytes |
コンパイル時間 | 2,326 ms |
コンパイル使用メモリ | 243,588 KB |
実行使用メモリ | 6,948 KB |
最終ジャッジ日時 | 2024-06-22 02:47:47 |
合計ジャッジ時間 | 3,112 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
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 >= B) cout<<"NO"<<endl; else cout<<"YES"<<endl; cout<<max(0ll,A+1-B)<<endl; }