結果

問題 No.218 経験値1.5倍
ユーザー hikari2004hikari2004
提出日時 2016-04-22 13:43:48
言語 Java21
(openjdk 21)
結果
AC  
実行時間 138 ms / 2,000 ms
コード長 426 bytes
コンパイル時間 2,967 ms
コンパイル使用メモリ 71,768 KB
実行使用メモリ 56,588 KB
最終ジャッジ日時 2023-08-28 14:22:28
合計ジャッジ時間 8,405 ms
ジャッジサーバーID
(参考情報)
judge13 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 132 ms
55,812 KB
testcase_01 AC 138 ms
56,184 KB
testcase_02 AC 133 ms
56,020 KB
testcase_03 AC 135 ms
56,052 KB
testcase_04 AC 134 ms
55,744 KB
testcase_05 AC 133 ms
55,912 KB
testcase_06 AC 135 ms
55,812 KB
testcase_07 AC 135 ms
55,860 KB
testcase_08 AC 137 ms
55,868 KB
testcase_09 AC 132 ms
55,864 KB
testcase_10 AC 133 ms
56,444 KB
testcase_11 AC 135 ms
55,864 KB
testcase_12 AC 133 ms
56,100 KB
testcase_13 AC 134 ms
55,636 KB
testcase_14 AC 136 ms
55,856 KB
testcase_15 AC 133 ms
55,912 KB
testcase_16 AC 134 ms
55,852 KB
testcase_17 AC 132 ms
55,548 KB
testcase_18 AC 133 ms
55,740 KB
testcase_19 AC 133 ms
56,548 KB
testcase_20 AC 133 ms
55,984 KB
testcase_21 AC 134 ms
55,704 KB
testcase_22 AC 133 ms
55,876 KB
testcase_23 AC 135 ms
55,568 KB
testcase_24 AC 133 ms
55,896 KB
testcase_25 AC 134 ms
56,016 KB
testcase_26 AC 132 ms
56,588 KB
testcase_27 AC 133 ms
55,804 KB
testcase_28 AC 134 ms
53,676 KB
testcase_29 AC 133 ms
55,560 KB
testcase_30 AC 133 ms
56,308 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

package yukicorder;

import java.util.Scanner;

public class No_218 {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		double a = sc.nextDouble();
		double b = sc.nextDouble();
		double c = sc.nextDouble();

		int normal = (int)Math.ceil(a/b);
		int success = (int)Math.ceil(a/c);

		if(2 * normal >= 3 * success){
			System.out.println("YES");
		}else{
			System.out.println("NO");
		}
	}
}
0