結果

問題 No.218 経験値1.5倍
ユーザー mikoto1357mikoto1357
提出日時 2015-05-29 22:34:30
言語 Java19
(openjdk 21)
結果
AC  
実行時間 121 ms / 2,000 ms
コード長 403 bytes
コンパイル時間 3,442 ms
コンパイル使用メモリ 71,876 KB
実行使用メモリ 57,900 KB
最終ジャッジ日時 2023-08-28 14:06:18
合計ジャッジ時間 8,074 ms
ジャッジサーバーID
(参考情報)
judge13 / judge14
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 118 ms
56,080 KB
testcase_01 AC 121 ms
57,900 KB
testcase_02 AC 118 ms
55,480 KB
testcase_03 AC 118 ms
55,780 KB
testcase_04 AC 119 ms
55,512 KB
testcase_05 AC 118 ms
56,076 KB
testcase_06 AC 117 ms
56,360 KB
testcase_07 AC 117 ms
55,756 KB
testcase_08 AC 118 ms
55,680 KB
testcase_09 AC 117 ms
56,088 KB
testcase_10 AC 118 ms
56,324 KB
testcase_11 AC 118 ms
56,148 KB
testcase_12 AC 119 ms
56,472 KB
testcase_13 AC 120 ms
56,296 KB
testcase_14 AC 121 ms
56,268 KB
testcase_15 AC 120 ms
56,232 KB
testcase_16 AC 119 ms
55,516 KB
testcase_17 AC 121 ms
55,752 KB
testcase_18 AC 118 ms
56,032 KB
testcase_19 AC 118 ms
56,128 KB
testcase_20 AC 119 ms
56,428 KB
testcase_21 AC 120 ms
55,792 KB
testcase_22 AC 118 ms
57,896 KB
testcase_23 AC 118 ms
55,924 KB
testcase_24 AC 118 ms
56,096 KB
testcase_25 AC 117 ms
56,156 KB
testcase_26 AC 117 ms
56,164 KB
testcase_27 AC 119 ms
55,912 KB
testcase_28 AC 118 ms
56,020 KB
testcase_29 AC 119 ms
56,548 KB
testcase_30 AC 120 ms
55,992 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;

public class Yukicoder218{
	public static void main(String[] args){
		Scanner scan = new Scanner(System.in);
		int a = scan.nextInt();
		int b = scan.nextInt();
		int c = scan.nextInt();
		double bsozai = a / (b + 0.0);
		double csozai = a / (c + 0.0);
		if(Math.ceil(csozai) > (Math.ceil(bsozai) * 2 / 3))	System.out.println("NO");
		else												System.out.println("YES");
	}
}
0