結果

問題 No.218 経験値1.5倍
ユーザー k_kadorak_kadora
提出日時 2015-06-10 22:36:34
言語 Java21
(openjdk 21)
結果
AC  
実行時間 126 ms / 2,000 ms
コード長 448 bytes
コンパイル時間 3,089 ms
コンパイル使用メモリ 72,540 KB
実行使用メモリ 56,184 KB
最終ジャッジ日時 2023-08-28 14:09:55
合計ジャッジ時間 8,317 ms
ジャッジサーバーID
(参考情報)
judge15 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 120 ms
55,596 KB
testcase_01 AC 123 ms
55,720 KB
testcase_02 AC 120 ms
55,896 KB
testcase_03 AC 119 ms
55,748 KB
testcase_04 AC 121 ms
55,952 KB
testcase_05 AC 122 ms
56,140 KB
testcase_06 AC 122 ms
55,844 KB
testcase_07 AC 122 ms
55,436 KB
testcase_08 AC 124 ms
55,596 KB
testcase_09 AC 121 ms
55,620 KB
testcase_10 AC 121 ms
55,444 KB
testcase_11 AC 123 ms
55,724 KB
testcase_12 AC 125 ms
55,732 KB
testcase_13 AC 122 ms
55,696 KB
testcase_14 AC 126 ms
55,888 KB
testcase_15 AC 126 ms
55,852 KB
testcase_16 AC 125 ms
56,176 KB
testcase_17 AC 125 ms
55,432 KB
testcase_18 AC 126 ms
55,612 KB
testcase_19 AC 125 ms
56,088 KB
testcase_20 AC 122 ms
55,740 KB
testcase_21 AC 125 ms
55,992 KB
testcase_22 AC 124 ms
55,620 KB
testcase_23 AC 123 ms
55,780 KB
testcase_24 AC 124 ms
56,184 KB
testcase_25 AC 121 ms
55,992 KB
testcase_26 AC 123 ms
55,960 KB
testcase_27 AC 123 ms
55,996 KB
testcase_28 AC 125 ms
55,556 KB
testcase_29 AC 125 ms
55,828 KB
testcase_30 AC 123 ms
55,968 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;
public class Exp{
	public static void main(String[] arg){
		double ca;
		int temp,cneed,a,b,c;
		Scanner sc = new Scanner(System.in);
		a = sc.nextInt();
		b = sc.nextInt();
		c = sc.nextInt();
		temp = (int)a / (int)b;
		if(a > b * temp)temp++;
		ca = (double)temp * 2 /3;
		cneed = a / c;
		if(a > c * cneed)cneed++;
		if((double)cneed <= ca){
			System.out.println("YES");
		}else{
			System.out.println("NO");
		}
	}
}
0