結果
| 問題 |
No.218 経験値1.5倍
|
| コンテスト | |
| ユーザー |
cyber
|
| 提出日時 | 2019-03-25 13:30:34 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 347 bytes |
| コンパイル時間 | 477 ms |
| コンパイル使用メモリ | 53,748 KB |
| 実行使用メモリ | 6,824 KB |
| 最終ジャッジ日時 | 2024-10-08 00:17:25 |
| 合計ジャッジ時間 | 1,648 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 18 WA * 13 |
ソースコード
#include <iostream>
int main()
{
int a,b,c;
std::cin >> a >> b >> c;
int d = a/b;
if(a%b != 0)
{
d++;
}
d -= a/c;
if(a%c != 0)
{
d--;
}
if(d >= 0)
{
std::cout << "YES" << std::endl;
}
else
{
std::cout << "NO" << std::endl;
}
return 0;
}
cyber