結果

問題 No.218 経験値1.5倍
ユーザー teritama_gteritama_g
提出日時 2015-06-16 15:41:44
言語 Java21
(openjdk 21)
結果
WA  
実行時間 -
コード長 757 bytes
コンパイル時間 2,113 ms
コンパイル使用メモリ 72,096 KB
実行使用メモリ 49,720 KB
最終ジャッジ日時 2023-09-21 09:03:29
合計ジャッジ時間 4,585 ms
ジャッジサーバーID
(参考情報)
judge11 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 40 ms
49,228 KB
testcase_01 AC 40 ms
49,416 KB
testcase_02 AC 41 ms
49,328 KB
testcase_03 AC 40 ms
49,404 KB
testcase_04 AC 41 ms
49,720 KB
testcase_05 AC 40 ms
49,392 KB
testcase_06 AC 40 ms
47,480 KB
testcase_07 WA -
testcase_08 AC 40 ms
49,336 KB
testcase_09 AC 40 ms
49,648 KB
testcase_10 WA -
testcase_11 AC 40 ms
49,312 KB
testcase_12 WA -
testcase_13 AC 40 ms
49,160 KB
testcase_14 AC 40 ms
49,476 KB
testcase_15 AC 39 ms
49,164 KB
testcase_16 AC 39 ms
49,300 KB
testcase_17 AC 41 ms
49,360 KB
testcase_18 WA -
testcase_19 AC 39 ms
49,296 KB
testcase_20 WA -
testcase_21 AC 40 ms
49,164 KB
testcase_22 AC 41 ms
49,300 KB
testcase_23 AC 41 ms
49,324 KB
testcase_24 WA -
testcase_25 AC 39 ms
49,260 KB
testcase_26 AC 41 ms
49,304 KB
testcase_27 AC 39 ms
49,412 KB
testcase_28 AC 40 ms
49,140 KB
testcase_29 AC 41 ms
49,336 KB
testcase_30 AC 40 ms
49,204 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;
import java.lang.*;
import java.io.*;

class Ideone
{
	public static void main (String[] args) throws java.lang.Exception
	{
		int N = 0;
		InputStreamReader is = new InputStreamReader(System.in);
        BufferedReader br = new BufferedReader(is);
        String X1 = br.readLine();
       	String X2 = br.readLine();
       	String X3 = br.readLine();
       	int A = Integer.parseInt(X1);
		int B = Integer.parseInt(X2);
		int C = Integer.parseInt(X3);
       	
       	int D = A / B;
       	if(A % B != 0){
       		D++;
       	}

       	int E = A / C;
       	if(A % B != 0){
       		E++;
       	}

       	if((D*2) >= (E*3)){
       		System.out.println("YES");
       	}else{
       		System.out.println("NO");
       	}
	}
}
0