結果
問題 |
No.780 オフ会
|
ユーザー |
![]() |
提出日時 | 2019-03-04 17:06:44 |
言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 341 bytes |
コンパイル時間 | 446 ms |
コンパイル使用メモリ | 55,548 KB |
実行使用メモリ | 6,948 KB |
最終ジャッジ日時 | 2024-06-23 13:56:33 |
合計ジャッジ時間 | 1,308 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | WA * 23 |
ソースコード
#include <iostream> int main(){ int A; int B; std::cin >> A >> B; while(A > 0 || B > 0){ A--; B--; } if(B >= 1){ std::cout << "YES" << std::endl; A--; B--; } else if(B <= 0){ std::cout << "NO" << std::endl; } std::cout << A << std::endl; return 0; }