結果

問題 No.218 経験値1.5倍
ユーザー teritama_gteritama_g
提出日時 2015-06-16 15:36:36
言語 Java21
(openjdk 21)
結果
WA  
実行時間 -
コード長 773 bytes
コンパイル時間 2,049 ms
コンパイル使用メモリ 70,860 KB
実行使用メモリ 51,276 KB
最終ジャッジ日時 2023-09-21 09:02:53
合計ジャッジ時間 4,730 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 WA -
testcase_02 WA -
testcase_03 WA -
testcase_04 WA -
testcase_05 WA -
testcase_06 AC 41 ms
49,344 KB
testcase_07 WA -
testcase_08 WA -
testcase_09 WA -
testcase_10 AC 43 ms
49,224 KB
testcase_11 AC 44 ms
49,680 KB
testcase_12 AC 43 ms
49,148 KB
testcase_13 WA -
testcase_14 AC 44 ms
49,304 KB
testcase_15 WA -
testcase_16 AC 43 ms
49,276 KB
testcase_17 WA -
testcase_18 WA -
testcase_19 WA -
testcase_20 WA -
testcase_21 WA -
testcase_22 WA -
testcase_23 WA -
testcase_24 AC 42 ms
49,380 KB
testcase_25 WA -
testcase_26 AC 44 ms
49,220 KB
testcase_27 WA -
testcase_28 AC 43 ms
49,320 KB
testcase_29 AC 42 ms
49,536 KB
testcase_30 WA -
権限があれば一括ダウンロードができます

ソースコード

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)/3) <= E){
       		System.out.println("YES");
       	}else{
       		System.out.println("NO");
       	}
	}
}
0