結果
問題 | No.780 オフ会 |
ユーザー |
![]() |
提出日時 | 2019-03-27 20:50:30 |
言語 | C++11 (gcc 13.3.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 261 bytes |
コンパイル時間 | 540 ms |
コンパイル使用メモリ | 56,440 KB |
実行使用メモリ | 5,248 KB |
最終ジャッジ日時 | 2024-10-11 06:13:05 |
合計ジャッジ時間 | 1,334 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | WA * 23 |
ソースコード
#include <iostream> #include <string> #include <algorithm> using namespace std; int main(void){ int a,b,ans; cin>>a>>b; a=a+1; ans=abs(a-b); if(ans==0){ cout<<"Yes"<<endl; }else{ cout<<"No"<<endl; } cout<<ans<<endl; }