結果

問題 No.218 経験値1.5倍
ユーザー koukonko
提出日時 2015-12-17 13:44:06
言語 Java
(openjdk 23)
結果
WA  
実行時間 -
コード長 669 bytes
コンパイル時間 2,300 ms
コンパイル使用メモリ 74,932 KB
実行使用メモリ 50,504 KB
最終ジャッジ日時 2024-09-16 07:31:32
合計ジャッジ時間 4,913 ms
ジャッジサーバーID
(参考情報)
judge2 / judge6
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 21 WA * 10
権限があれば一括ダウンロードができます

ソースコード

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