結果

問題 No.218 経験値1.5倍
ユーザー spaciaspacia
提出日時 2015-12-30 22:59:29
言語 Java21
(openjdk 21)
結果
AC  
実行時間 44 ms / 2,000 ms
コード長 668 bytes
コンパイル時間 1,939 ms
コンパイル使用メモリ 71,452 KB
実行使用メモリ 49,512 KB
最終ジャッジ日時 2023-08-28 14:19:58
合計ジャッジ時間 4,238 ms
ジャッジサーバーID
(参考情報)
judge15 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 41 ms
49,208 KB
testcase_01 AC 41 ms
49,244 KB
testcase_02 AC 42 ms
49,128 KB
testcase_03 AC 43 ms
49,468 KB
testcase_04 AC 43 ms
49,496 KB
testcase_05 AC 41 ms
49,380 KB
testcase_06 AC 43 ms
49,284 KB
testcase_07 AC 43 ms
49,264 KB
testcase_08 AC 43 ms
49,064 KB
testcase_09 AC 43 ms
49,228 KB
testcase_10 AC 42 ms
49,376 KB
testcase_11 AC 42 ms
49,160 KB
testcase_12 AC 42 ms
49,200 KB
testcase_13 AC 42 ms
49,512 KB
testcase_14 AC 42 ms
49,224 KB
testcase_15 AC 43 ms
49,324 KB
testcase_16 AC 43 ms
49,064 KB
testcase_17 AC 41 ms
49,288 KB
testcase_18 AC 44 ms
49,020 KB
testcase_19 AC 42 ms
49,060 KB
testcase_20 AC 42 ms
49,188 KB
testcase_21 AC 42 ms
49,420 KB
testcase_22 AC 42 ms
49,308 KB
testcase_23 AC 40 ms
49,324 KB
testcase_24 AC 41 ms
49,200 KB
testcase_25 AC 41 ms
49,248 KB
testcase_26 AC 40 ms
49,252 KB
testcase_27 AC 41 ms
49,188 KB
testcase_28 AC 42 ms
49,396 KB
testcase_29 AC 42 ms
49,156 KB
testcase_30 AC 42 ms
49,112 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.io.*;
import java.util.*;

class Main218 {
	
	public static void out (Object o) {
		System.out.println(o);
	}
	
	public static void main (String[] args) throws IOException {
		BufferedReader br = 
			new BufferedReader(new InputStreamReader(System.in));
		
		int a = Integer.parseInt(br.readLine());
		int b = Integer.parseInt(br.readLine());
		int c = Integer.parseInt(br.readLine());
		
		int normalCnt  = (double)a / b == a / b ? a / b : a / b + 1;
		int specialCnt = (double)a / c == a / c ? a / c : a / c + 1;
		
		//out("spCnt : " + specialCnt + "\tnoCnt : " + normalCnt);
		
		out(((double)normalCnt * 2 / 3.0) >= specialCnt ? "YES" : "NO");
		
	}
}
0