結果

問題 No.218 経験値1.5倍
ユーザー tentententen
提出日時 2020-11-04 12:42:23
言語 Java21
(openjdk 21)
結果
AC  
実行時間 126 ms / 2,000 ms
コード長 363 bytes
コンパイル時間 2,029 ms
コンパイル使用メモリ 70,708 KB
実行使用メモリ 56,204 KB
最終ジャッジ日時 2023-09-29 15:46:59
合計ジャッジ時間 7,483 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 124 ms
55,784 KB
testcase_01 AC 126 ms
55,308 KB
testcase_02 AC 126 ms
55,744 KB
testcase_03 AC 119 ms
55,764 KB
testcase_04 AC 119 ms
55,404 KB
testcase_05 AC 119 ms
56,052 KB
testcase_06 AC 118 ms
55,904 KB
testcase_07 AC 118 ms
55,988 KB
testcase_08 AC 119 ms
55,640 KB
testcase_09 AC 122 ms
55,452 KB
testcase_10 AC 118 ms
56,072 KB
testcase_11 AC 121 ms
55,948 KB
testcase_12 AC 118 ms
55,608 KB
testcase_13 AC 117 ms
56,104 KB
testcase_14 AC 119 ms
55,756 KB
testcase_15 AC 124 ms
55,780 KB
testcase_16 AC 117 ms
56,104 KB
testcase_17 AC 117 ms
55,572 KB
testcase_18 AC 118 ms
55,884 KB
testcase_19 AC 118 ms
55,812 KB
testcase_20 AC 118 ms
55,984 KB
testcase_21 AC 118 ms
56,112 KB
testcase_22 AC 119 ms
56,204 KB
testcase_23 AC 118 ms
55,756 KB
testcase_24 AC 117 ms
55,904 KB
testcase_25 AC 117 ms
55,908 KB
testcase_26 AC 119 ms
56,080 KB
testcase_27 AC 119 ms
55,788 KB
testcase_28 AC 121 ms
55,876 KB
testcase_29 AC 121 ms
55,884 KB
testcase_30 AC 120 ms
55,972 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;

public class Main {
	public static void main (String[] args) {
		Scanner sc = new Scanner(System.in);
		int a = sc.nextInt();
		int b = sc.nextInt();
		int c = sc.nextInt();
		int std = (a + b - 1) / b;
		int sp = (a + c - 1) / c;
		if (sp * 3 > std * 2) {
		    System.out.println("NO");
		} else {
		    System.out.println("YES");
		}
	}
}
0