結果

問題 No.218 経験値1.5倍
ユーザー HEGO55HEGO55
提出日時 2017-05-17 14:33:37
言語 Java
(openjdk 23)
結果
WA  
実行時間 -
コード長 373 bytes
コンパイル時間 2,189 ms
コンパイル使用メモリ 74,084 KB
実行使用メモリ 41,720 KB
最終ジャッジ日時 2024-09-17 12:35:08
合計ジャッジ時間 7,314 ms
ジャッジサーバーID
(参考情報)
judge5 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 13 WA * 18
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;
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 count1 = 0;
		int count2 = 0;
		
		while(a>0){
			a -= b;
			count1++;
		}
		
		if(a/c>(count1*(2/3))){
			System.out.println("YES");
		}else{
			System.out.println("NO");
		}
	}
}
0