結果

問題 No.218 経験値1.5倍
ユーザー shinwisteriashinwisteria
提出日時 2018-03-15 19:42:25
言語 Java21
(openjdk 21)
結果
AC  
実行時間 125 ms / 2,000 ms
コード長 407 bytes
コンパイル時間 3,702 ms
コンパイル使用メモリ 72,168 KB
実行使用メモリ 56,292 KB
最終ジャッジ日時 2023-08-23 07:03:54
合計ジャッジ時間 9,746 ms
ジャッジサーバーID
(参考情報)
judge14 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 123 ms
55,600 KB
testcase_01 AC 122 ms
55,880 KB
testcase_02 AC 123 ms
55,744 KB
testcase_03 AC 121 ms
55,608 KB
testcase_04 AC 123 ms
56,188 KB
testcase_05 AC 123 ms
56,072 KB
testcase_06 AC 123 ms
55,664 KB
testcase_07 AC 123 ms
55,892 KB
testcase_08 AC 125 ms
55,864 KB
testcase_09 AC 123 ms
56,060 KB
testcase_10 AC 121 ms
55,692 KB
testcase_11 AC 124 ms
55,508 KB
testcase_12 AC 121 ms
55,388 KB
testcase_13 AC 121 ms
55,860 KB
testcase_14 AC 117 ms
55,952 KB
testcase_15 AC 121 ms
55,952 KB
testcase_16 AC 120 ms
55,692 KB
testcase_17 AC 120 ms
56,084 KB
testcase_18 AC 120 ms
55,868 KB
testcase_19 AC 120 ms
56,088 KB
testcase_20 AC 120 ms
56,040 KB
testcase_21 AC 118 ms
55,772 KB
testcase_22 AC 120 ms
56,024 KB
testcase_23 AC 119 ms
56,156 KB
testcase_24 AC 120 ms
56,292 KB
testcase_25 AC 120 ms
55,384 KB
testcase_26 AC 122 ms
55,748 KB
testcase_27 AC 121 ms
55,892 KB
testcase_28 AC 120 ms
56,056 KB
testcase_29 AC 121 ms
55,628 KB
testcase_30 AC 121 ms
56,248 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

package m.shin;
import java.util.Scanner;
public class Con218 {

	public static void main(String[] args) {
		Scanner s = new Scanner(System.in);
		int a = s.nextInt() , b = s.nextInt() , c = s.nextInt();
		s.close();

		int n = a / b , m = a / c;
		if(n * b < a){
			n++;
		}
		if(m * c < a){
			m++;
		}

		if(3 * m <= 2 * n){
			System.out.println("YES");
		}else{
			System.out.println("NO");
		}

	}

}
0