結果

問題 No.218 経験値1.5倍
ユーザー koukonkokoukonko
提出日時 2015-12-17 13:44:06
言語 Java21
(openjdk 21)
結果
WA  
実行時間 -
コード長 669 bytes
コンパイル時間 2,383 ms
コンパイル使用メモリ 71,240 KB
実行使用メモリ 49,916 KB
最終ジャッジ日時 2023-10-14 12:42:01
合計ジャッジ時間 5,343 ms
ジャッジサーバーID
(参考情報)
judge14 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 42 ms
49,544 KB
testcase_01 AC 42 ms
49,320 KB
testcase_02 AC 42 ms
49,524 KB
testcase_03 AC 43 ms
49,324 KB
testcase_04 AC 43 ms
49,356 KB
testcase_05 AC 42 ms
49,208 KB
testcase_06 AC 42 ms
49,456 KB
testcase_07 AC 42 ms
49,392 KB
testcase_08 AC 42 ms
49,392 KB
testcase_09 AC 42 ms
49,236 KB
testcase_10 AC 42 ms
49,188 KB
testcase_11 AC 42 ms
49,236 KB
testcase_12 AC 42 ms
49,580 KB
testcase_13 AC 42 ms
49,216 KB
testcase_14 AC 42 ms
49,492 KB
testcase_15 WA -
testcase_16 AC 42 ms
49,204 KB
testcase_17 WA -
testcase_18 WA -
testcase_19 AC 42 ms
49,272 KB
testcase_20 WA -
testcase_21 WA -
testcase_22 WA -
testcase_23 WA -
testcase_24 AC 42 ms
49,184 KB
testcase_25 WA -
testcase_26 AC 42 ms
49,320 KB
testcase_27 WA -
testcase_28 AC 43 ms
49,420 KB
testcase_29 AC 42 ms
49,276 KB
testcase_30 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.io.BufferedReader;
import java.io.InputStreamReader;

public class Main {
	public static void main(String[] args) {
		BufferedReader read = new BufferedReader(new InputStreamReader(System.in));

		try {
			int a = Integer.parseInt(read.readLine());
			int b = Integer.parseInt(read.readLine());
			int c = Integer.parseInt(read.readLine());

			double normal = (a * 1.0) / b;
			if (normal % 1 > 0) {
				normal = (int) (normal + 1);
			}
			normal *= 2d / 3d;

			double campaign = normal * c;

			if (a > campaign) {
				System.out.println("NO");
			} else {
				System.out.println("YES");
			}

		} catch (Exception e) {
			e.printStackTrace();
		}
	}
}
0