結果

問題 No.218 経験値1.5倍
ユーザー 8130Tsk
提出日時 2015-08-02 23:19:06
言語 Java
(openjdk 23)
結果
WA  
実行時間 -
コード長 433 bytes
コンパイル時間 3,845 ms
コンパイル使用メモリ 75,268 KB
実行使用メモリ 56,124 KB
最終ジャッジ日時 2024-07-18 00:53:28
合計ジャッジ時間 8,975 ms
ジャッジサーバーID
(参考情報)
judge4 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other WA * 31
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;

public class No218 {

	public static void main(String[] args) {
		// TODO Auto-generated method stub
		Scanner sc = new Scanner(System.in);
		int a = sc.nextInt();
		int b = sc.nextInt();
		int c = sc.nextInt();
		
		int t1 = a/b;
		if(a%b != 0){
			t1++;
		}
		int t2 = a/c;
		if(a%c != 0){
			t2++;
		}

		
		if((t1*2) >= (t2*3)){
			System.out.println("Yes");
		}else
			System.out.println("No");
	}

}
0