結果

問題 No.218 経験値1.5倍
ユーザー mikoto1357mikoto1357
提出日時 2015-05-29 22:27:27
言語 Java21
(openjdk 21)
結果
WA  
実行時間 -
コード長 387 bytes
コンパイル時間 3,132 ms
コンパイル使用メモリ 71,688 KB
実行使用メモリ 39,936 KB
最終ジャッジ日時 2023-09-20 16:09:39
合計ジャッジ時間 8,074 ms
ジャッジサーバーID
(参考情報)
judge12 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 116 ms
39,480 KB
testcase_01 AC 116 ms
39,156 KB
testcase_02 AC 115 ms
39,448 KB
testcase_03 AC 117 ms
39,440 KB
testcase_04 AC 117 ms
39,512 KB
testcase_05 AC 120 ms
39,476 KB
testcase_06 AC 117 ms
39,320 KB
testcase_07 AC 117 ms
39,072 KB
testcase_08 AC 118 ms
39,316 KB
testcase_09 AC 117 ms
39,788 KB
testcase_10 WA -
testcase_11 WA -
testcase_12 WA -
testcase_13 AC 116 ms
39,312 KB
testcase_14 AC 115 ms
39,336 KB
testcase_15 AC 117 ms
39,500 KB
testcase_16 WA -
testcase_17 AC 117 ms
39,368 KB
testcase_18 AC 117 ms
39,304 KB
testcase_19 AC 120 ms
39,568 KB
testcase_20 AC 117 ms
39,680 KB
testcase_21 AC 117 ms
39,692 KB
testcase_22 AC 116 ms
39,408 KB
testcase_23 AC 116 ms
39,272 KB
testcase_24 AC 117 ms
39,188 KB
testcase_25 AC 119 ms
39,888 KB
testcase_26 WA -
testcase_27 AC 121 ms
39,476 KB
testcase_28 WA -
testcase_29 AC 117 ms
39,200 KB
testcase_30 AC 118 ms
39,496 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) > bsozai * 2 / 3)	System.out.println("NO");
		else									System.out.println("YES");
	}
}
0