結果
| 問題 |
No.218 経験値1.5倍
|
| コンテスト | |
| ユーザー |
funakoshi
|
| 提出日時 | 2019-09-05 14:11:00 |
| 言語 | C (gcc 13.3.0) |
| 結果 |
AC
|
| 実行時間 | 1 ms / 2,000 ms |
| コード長 | 426 bytes |
| コンパイル時間 | 560 ms |
| コンパイル使用メモリ | 30,336 KB |
| 実行使用メモリ | 5,376 KB |
| 最終ジャッジ日時 | 2024-06-11 15:38:11 |
| 合計ジャッジ時間 | 1,148 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 31 |
ソースコード
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stdbool.h>
#include <math.h>
int main(void)
{
double needexp,nmlexp,cpexp;
scanf("%lf",&needexp);
scanf("%lf",&nmlexp);
scanf("%lf",&cpexp);
nmlexp=ceil(needexp/nmlexp);
cpexp=ceil(needexp/cpexp);
double enough=nmlexp*2/3;
if(cpexp>enough)
{
printf("NO");
}
else
{
printf("YES");
}
}
funakoshi