結果
| 問題 |
No.780 オフ会
|
| コンテスト | |
| ユーザー |
Piroty19
|
| 提出日時 | 2019-02-13 12:41:47 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 280 bytes |
| コンパイル時間 | 610 ms |
| コンパイル使用メモリ | 54,724 KB |
| 実行使用メモリ | 6,948 KB |
| 最終ジャッジ日時 | 2024-09-13 09:55:07 |
| 合計ジャッジ時間 | 1,393 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | WA * 23 |
ソースコード
#include<iostream>
using namespace std;
int main()
{
int A,B; //A_boy,B_girl
cin>>A;
cin>>B;
if(A<B)
{
cout<<"Yes"<<endl;
cout<<0;
}
else
{
A=A+1-B;
cout<<"No"<<endl;
cout<<A;
}
return 0;
}
Piroty19