結果

問題 No.218 経験値1.5倍
ユーザー Tsukasa_TypeTsukasa_Type
提出日時 2018-02-11 23:06:03
言語 Java21
(openjdk 21)
結果
AC  
実行時間 158 ms / 2,000 ms
コード長 340 bytes
コンパイル時間 2,369 ms
コンパイル使用メモリ 74,840 KB
実行使用メモリ 54,444 KB
最終ジャッジ日時 2024-05-01 08:22:52
合計ジャッジ時間 7,806 ms
ジャッジサーバーID
(参考情報)
judge1 / judge4
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 146 ms
54,300 KB
testcase_01 AC 146 ms
54,228 KB
testcase_02 AC 141 ms
54,304 KB
testcase_03 AC 143 ms
54,428 KB
testcase_04 AC 145 ms
54,144 KB
testcase_05 AC 144 ms
54,364 KB
testcase_06 AC 148 ms
54,040 KB
testcase_07 AC 153 ms
54,252 KB
testcase_08 AC 148 ms
54,328 KB
testcase_09 AC 147 ms
54,440 KB
testcase_10 AC 144 ms
54,296 KB
testcase_11 AC 154 ms
54,232 KB
testcase_12 AC 149 ms
54,372 KB
testcase_13 AC 146 ms
54,296 KB
testcase_14 AC 146 ms
54,132 KB
testcase_15 AC 148 ms
54,368 KB
testcase_16 AC 152 ms
54,092 KB
testcase_17 AC 158 ms
54,388 KB
testcase_18 AC 147 ms
54,400 KB
testcase_19 AC 149 ms
54,372 KB
testcase_20 AC 147 ms
54,196 KB
testcase_21 AC 144 ms
54,404 KB
testcase_22 AC 148 ms
54,252 KB
testcase_23 AC 144 ms
54,428 KB
testcase_24 AC 145 ms
54,108 KB
testcase_25 AC 148 ms
54,200 KB
testcase_26 AC 142 ms
54,276 KB
testcase_27 AC 143 ms
54,356 KB
testcase_28 AC 144 ms
54,104 KB
testcase_29 AC 143 ms
54,444 KB
testcase_30 AC 146 ms
54,396 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;

public class Main {
	static Scanner sc = new Scanner(System.in);
	public static void main(String[] args) {
		double n = sc.nextDouble();
		double a = sc.nextDouble();
		double b = sc.nextDouble();
		double a_num = Math.ceil(n/a);
		double b_num = Math.ceil(n/b);
		System.out.println(b_num<=a_num*2/3?"YES":"NO"); 
	}
}
0