結果

問題 No.218 経験値1.5倍
ユーザー kou6839
提出日時 2015-05-30 23:12:20
言語 Java
(openjdk 23)
結果
AC  
実行時間 148 ms / 2,000 ms
コード長 508 bytes
コンパイル時間 2,617 ms
コンパイル使用メモリ 74,844 KB
実行使用メモリ 41,576 KB
最終ジャッジ日時 2024-12-29 15:04:41
合計ジャッジ時間 8,149 ms
ジャッジサーバーID
(参考情報)
judge4 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 31
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.io.*;
import java.util.*;

public class Main {
    public static void main(String[] args){
        // TODO 自動生成されたメソッド・スタブ
        Scanner sc = new Scanner(System.in);
        int a = sc.nextInt();
        int b = sc.nextInt();
        int c = sc.nextInt();
        double aa = Math.ceil(a*1.0/b);
        double bb = Math.ceil(1.0*a/c);
        if(aa*2/3>=bb){
        	System.out.println("YES");
        }else{
        	System.out.println("NO");
        }
    }
}
0