結果

問題 No.218 経験値1.5倍
ユーザー ちよちゃんちよちゃん
提出日時 2016-08-06 02:50:31
言語 Java21
(openjdk 21)
結果
WA  
実行時間 -
コード長 469 bytes
コンパイル時間 5,473 ms
コンパイル使用メモリ 77,968 KB
実行使用メモリ 42,116 KB
最終ジャッジ日時 2024-04-24 17:45:46
合計ジャッジ時間 9,120 ms
ジャッジサーバーID
(参考情報)
judge3 / judge5
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 123 ms
41,164 KB
testcase_01 AC 120 ms
40,928 KB
testcase_02 AC 118 ms
41,144 KB
testcase_03 AC 110 ms
40,592 KB
testcase_04 AC 124 ms
41,272 KB
testcase_05 AC 122 ms
41,712 KB
testcase_06 AC 125 ms
41,376 KB
testcase_07 AC 121 ms
41,612 KB
testcase_08 AC 129 ms
40,820 KB
testcase_09 AC 124 ms
41,476 KB
testcase_10 WA -
testcase_11 WA -
testcase_12 WA -
testcase_13 AC 122 ms
41,368 KB
testcase_14 AC 134 ms
41,288 KB
testcase_15 AC 126 ms
41,532 KB
testcase_16 WA -
testcase_17 AC 121 ms
41,224 KB
testcase_18 AC 123 ms
41,644 KB
testcase_19 AC 122 ms
41,596 KB
testcase_20 AC 122 ms
41,652 KB
testcase_21 AC 110 ms
41,024 KB
testcase_22 AC 133 ms
41,852 KB
testcase_23 AC 114 ms
41,100 KB
testcase_24 AC 127 ms
41,448 KB
testcase_25 AC 118 ms
41,008 KB
testcase_26 WA -
testcase_27 AC 117 ms
41,016 KB
testcase_28 WA -
testcase_29 AC 115 ms
41,184 KB
testcase_30 AC 128 ms
41,520 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

package yukicoder;

import java.util.Scanner;

public class yuki218 {

	public static void main(String[] args) {
		// TODO Auto-generated method stub
		Scanner scan = new Scanner(System.in);
		double a = scan.nextDouble();
		double b = scan.nextDouble();
		double c = scan.nextDouble();
		
		double a1 = (a/b); 
		double a2 = Math.ceil(a/c);
		if ((a2/a1)<=(2.0/3.0)) {
			System.out.println("YES");
		} else {
			System.out.println("NO");			
		}
		scan.close();

	}

}
0