結果
| 問題 |
No.780 オフ会
|
| コンテスト | |
| ユーザー |
TAKINBORI
|
| 提出日時 | 2019-01-21 19:07:05 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 254 bytes |
| コンパイル時間 | 447 ms |
| コンパイル使用メモリ | 53,364 KB |
| 実行使用メモリ | 5,376 KB |
| 最終ジャッジ日時 | 2024-09-15 13:14:05 |
| 合計ジャッジ時間 | 1,364 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 12 WA * 11 |
ソースコード
#include<iostream>
int main()
{
int A;
int B;
std::cin >> A;
std::cin >> B;
if(A < B)
{
std::cout << "YES" << std::endl << 0;
}
else
{
std::cout << "NO" << std::endl << A - B + 1;
}
return 0;
}
TAKINBORI