結果
問題 |
No.218 経験値1.5倍
|
ユーザー |
|
提出日時 | 2016-04-22 13:39:58 |
言語 | Java (openjdk 23) |
結果 |
WA
|
実行時間 | - |
コード長 | 416 bytes |
コンパイル時間 | 2,987 ms |
コンパイル使用メモリ | 74,376 KB |
実行使用メモリ | 41,412 KB |
最終ジャッジ日時 | 2024-10-04 15:04:42 |
合計ジャッジ時間 | 7,089 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | WA * 31 |
ソースコード
package yukicorder; import java.util.Scanner; public class No_218 { public static void main(String[] args) { Scanner sc = new Scanner(System.in); double a = sc.nextInt(); double b = sc.nextInt(); double c = sc.nextInt(); int normal = (int)Math.ceil(a/b); int success = (int)Math.ceil(a/c); if(2 * normal < 3 * success){ System.out.println("YES"); }else{ System.out.println("NO"); } } }