結果

問題 No.218 経験値1.5倍
コンテスト
ユーザー koukonko
提出日時 2015-12-17 13:44:06
言語 Java
(openjdk 25.0.2)
コンパイル:
javac -encoding UTF8 _filename_
実行:
java -ea -Xmx700m -Xss256M -DONLINE_JUDGE=true _class_
結果
WA  
実行時間 -
コード長 669 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 1,579 ms
コンパイル使用メモリ 80,968 KB
実行使用メモリ 39,040 KB
最終ジャッジ日時 2026-04-05 12:39:58
合計ジャッジ時間 3,737 ms
ジャッジサーバーID
(参考情報)
judge2_1 / judge1_1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 21 WA * 10
権限があれば一括ダウンロードができます

ソースコード

diff #
raw source code

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