結果
| 問題 |
No.218 経験値1.5倍
|
| コンテスト | |
| ユーザー |
kohaku_kohaku
|
| 提出日時 | 2016-11-12 21:03:18 |
| 言語 | Java (openjdk 23) |
| 結果 |
AC
|
| 実行時間 | 152 ms / 2,000 ms |
| コード長 | 489 bytes |
| コンパイル時間 | 3,383 ms |
| コンパイル使用メモリ | 75,076 KB |
| 実行使用メモリ | 54,324 KB |
| 最終ジャッジ日時 | 2024-12-29 15:53:39 |
| 合計ジャッジ時間 | 9,259 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 31 |
ソースコード
import java.util.*;
public 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 no = (int)Math.ceil( (double)a/b) ;
int ca = (int)Math.ceil( (double)a/c) ;
double r = (double)no/ca;
if(r>=1.5){
System.out.println("YES");
}else{
System.out.println("NO");
}
}
}
kohaku_kohaku