結果

問題 No.218 経験値1.5倍
ユーザー t8m8⛄️t8m8⛄️
提出日時 2015-08-14 22:02:37
言語 Java21
(openjdk 21)
結果
AC  
実行時間 128 ms / 2,000 ms
コード長 740 bytes
コンパイル時間 3,318 ms
コンパイル使用メモリ 73,748 KB
実行使用メモリ 56,496 KB
最終ジャッジ日時 2023-08-28 14:16:49
合計ジャッジ時間 8,493 ms
ジャッジサーバーID
(参考情報)
judge15 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 126 ms
55,472 KB
testcase_01 AC 123 ms
55,636 KB
testcase_02 AC 122 ms
55,652 KB
testcase_03 AC 126 ms
56,076 KB
testcase_04 AC 127 ms
55,888 KB
testcase_05 AC 122 ms
55,920 KB
testcase_06 AC 123 ms
55,588 KB
testcase_07 AC 123 ms
55,748 KB
testcase_08 AC 125 ms
55,956 KB
testcase_09 AC 124 ms
55,776 KB
testcase_10 AC 126 ms
55,544 KB
testcase_11 AC 124 ms
53,804 KB
testcase_12 AC 125 ms
55,696 KB
testcase_13 AC 125 ms
55,760 KB
testcase_14 AC 126 ms
56,048 KB
testcase_15 AC 125 ms
55,664 KB
testcase_16 AC 123 ms
56,076 KB
testcase_17 AC 125 ms
56,096 KB
testcase_18 AC 126 ms
56,496 KB
testcase_19 AC 125 ms
55,776 KB
testcase_20 AC 128 ms
55,952 KB
testcase_21 AC 124 ms
55,992 KB
testcase_22 AC 124 ms
56,380 KB
testcase_23 AC 126 ms
55,704 KB
testcase_24 AC 125 ms
56,036 KB
testcase_25 AC 125 ms
55,784 KB
testcase_26 AC 124 ms
55,804 KB
testcase_27 AC 124 ms
55,760 KB
testcase_28 AC 123 ms
55,708 KB
testcase_29 AC 123 ms
55,648 KB
testcase_30 AC 124 ms
55,768 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;
import java.io.*;
import java.awt.geom.*;
import java.math.*;

public class No0218 {

	static final Scanner in = new Scanner(System.in);
	static final PrintWriter out = new PrintWriter(System.out,false);

	static void solve() {
		int a = in.nextInt();
		int b = in.nextInt();
		int c = in.nextInt();
		int s = (int)Math.ceil((double)a/b);
		int t = (int)Math.ceil((double)a/c);
		out.println(s*2 >= t*3 ? "YES" : "NO");
	}

	public static void main(String[] args) {
		long start = System.currentTimeMillis();

		solve();
		out.flush();

		long end = System.currentTimeMillis();
		//trace(end-start + "ms");
		in.close();
		out.close();
	}

	static void trace(Object... o) { System.out.println(Arrays.deepToString(o));}
}
0