結果

問題 No.218 経験値1.5倍
ユーザー ffmm00ffmm00
提出日時 2015-06-01 07:23:41
言語 Java21
(openjdk 21)
結果
AC  
実行時間 140 ms / 2,000 ms
コード長 388 bytes
コンパイル時間 3,067 ms
コンパイル使用メモリ 72,696 KB
実行使用メモリ 58,148 KB
最終ジャッジ日時 2023-08-28 14:08:25
合計ジャッジ時間 8,608 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 134 ms
55,828 KB
testcase_01 AC 133 ms
55,912 KB
testcase_02 AC 134 ms
55,904 KB
testcase_03 AC 133 ms
56,016 KB
testcase_04 AC 135 ms
56,144 KB
testcase_05 AC 138 ms
56,204 KB
testcase_06 AC 139 ms
58,148 KB
testcase_07 AC 139 ms
55,892 KB
testcase_08 AC 135 ms
56,036 KB
testcase_09 AC 139 ms
56,300 KB
testcase_10 AC 138 ms
55,856 KB
testcase_11 AC 137 ms
56,048 KB
testcase_12 AC 134 ms
56,188 KB
testcase_13 AC 136 ms
55,752 KB
testcase_14 AC 140 ms
55,772 KB
testcase_15 AC 136 ms
56,228 KB
testcase_16 AC 136 ms
56,072 KB
testcase_17 AC 136 ms
56,076 KB
testcase_18 AC 135 ms
56,036 KB
testcase_19 AC 135 ms
55,816 KB
testcase_20 AC 135 ms
55,516 KB
testcase_21 AC 135 ms
55,716 KB
testcase_22 AC 137 ms
56,128 KB
testcase_23 AC 136 ms
55,876 KB
testcase_24 AC 134 ms
54,088 KB
testcase_25 AC 134 ms
55,808 KB
testcase_26 AC 133 ms
55,812 KB
testcase_27 AC 135 ms
55,832 KB
testcase_28 AC 139 ms
56,176 KB
testcase_29 AC 137 ms
55,712 KB
testcase_30 AC 135 ms
55,736 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;

public class N218 {

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

		int n = (int) Math.ceil(a / b);
		int k = (int) Math.ceil(a / c);

		if ((n * 2 >= k * 3))
			System.out.println("YES");
		else
			System.out.println("NO");

	}
}
0