結果
| 問題 | No.218 経験値1.5倍 |
| コンテスト | |
| ユーザー |
Bantako
|
| 提出日時 | 2017-07-02 19:08:57 |
| 言語 | C++11 (gcc 15.2.0 + boost 1.89.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 2,000 ms |
| コード長 | 252 bytes |
| 記録 | |
| コンパイル時間 | 383 ms |
| コンパイル使用メモリ | 48,896 KB |
| 実行使用メモリ | 6,400 KB |
| 最終ジャッジ日時 | 2026-06-03 10:23:55 |
| 合計ジャッジ時間 | 1,844 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge3_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 31 |
コンパイルメッセージ
main.cpp:3:1: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
3 | main(){
| ^~~~
ソースコード
#include<stdio.h>
#include<math.h>
main(){
int A,B,C;
scanf("%d%d%d",&A,&B,&C);
int x = ceil(A/(double)B);
int y = ceil(A/(double)C);
if(x >= (double)(y*3.0/2.0)){
printf("YES\n");
}else{
printf("NO\n");
}
}
Bantako