結果

問題 No.218 経験値1.5倍
ユーザー takeya_okinotakeya_okino
提出日時 2017-06-22 09:23:24
言語 Java21
(openjdk 21)
結果
AC  
実行時間 125 ms / 2,000 ms
コード長 366 bytes
コンパイル時間 1,902 ms
コンパイル使用メモリ 72,132 KB
実行使用メモリ 56,092 KB
最終ジャッジ日時 2023-08-28 14:33:49
合計ジャッジ時間 7,078 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 123 ms
55,820 KB
testcase_01 AC 123 ms
55,928 KB
testcase_02 AC 122 ms
55,760 KB
testcase_03 AC 122 ms
55,608 KB
testcase_04 AC 123 ms
55,840 KB
testcase_05 AC 123 ms
55,768 KB
testcase_06 AC 121 ms
55,316 KB
testcase_07 AC 124 ms
55,992 KB
testcase_08 AC 120 ms
55,652 KB
testcase_09 AC 118 ms
55,792 KB
testcase_10 AC 118 ms
55,956 KB
testcase_11 AC 124 ms
55,828 KB
testcase_12 AC 120 ms
55,932 KB
testcase_13 AC 119 ms
55,804 KB
testcase_14 AC 120 ms
55,324 KB
testcase_15 AC 121 ms
55,736 KB
testcase_16 AC 122 ms
55,676 KB
testcase_17 AC 120 ms
55,552 KB
testcase_18 AC 124 ms
55,788 KB
testcase_19 AC 121 ms
55,572 KB
testcase_20 AC 124 ms
56,092 KB
testcase_21 AC 124 ms
55,764 KB
testcase_22 AC 125 ms
55,648 KB
testcase_23 AC 124 ms
55,688 KB
testcase_24 AC 123 ms
55,832 KB
testcase_25 AC 125 ms
55,668 KB
testcase_26 AC 124 ms
55,540 KB
testcase_27 AC 125 ms
55,336 KB
testcase_28 AC 121 ms
55,964 KB
testcase_29 AC 125 ms
55,512 KB
testcase_30 AC 124 ms
55,644 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 num1 = (a + b - 1) / b;
    int num2 = (a + c - 1) / c;
    String ans = "NO";
    if(2 * num1 >= 3 * num2) ans = "YES";
    System.out.println(ans);
  }
}
0