結果
問題 | No.218 経験値1.5倍 |
ユーザー | teritama_g |
提出日時 | 2015-06-16 15:29:35 |
言語 | Java21 (openjdk 21) |
結果 |
WA
|
実行時間 | - |
コード長 | 760 bytes |
コンパイル時間 | 2,013 ms |
コンパイル使用メモリ | 72,660 KB |
実行使用メモリ | 51,500 KB |
最終ジャッジ日時 | 2023-09-21 09:02:47 |
合計ジャッジ時間 | 5,112 ms |
ジャッジサーバーID (参考情報) |
judge11 / judge13 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | WA | - |
testcase_01 | WA | - |
testcase_02 | WA | - |
testcase_03 | WA | - |
testcase_04 | WA | - |
testcase_05 | WA | - |
testcase_06 | AC | 39 ms
49,228 KB |
testcase_07 | WA | - |
testcase_08 | AC | 39 ms
49,264 KB |
testcase_09 | WA | - |
testcase_10 | WA | - |
testcase_11 | AC | 38 ms
49,568 KB |
testcase_12 | WA | - |
testcase_13 | AC | 38 ms
47,288 KB |
testcase_14 | AC | 39 ms
49,164 KB |
testcase_15 | AC | 39 ms
49,288 KB |
testcase_16 | AC | 40 ms
49,264 KB |
testcase_17 | AC | 38 ms
49,260 KB |
testcase_18 | WA | - |
testcase_19 | WA | - |
testcase_20 | WA | - |
testcase_21 | AC | 38 ms
49,432 KB |
testcase_22 | AC | 41 ms
49,196 KB |
testcase_23 | AC | 39 ms
49,300 KB |
testcase_24 | WA | - |
testcase_25 | AC | 40 ms
49,288 KB |
testcase_26 | AC | 41 ms
49,408 KB |
testcase_27 | AC | 40 ms
49,320 KB |
testcase_28 | AC | 39 ms
49,272 KB |
testcase_29 | AC | 39 ms
49,388 KB |
testcase_30 | AC | 39 ms
49,144 KB |
ソースコード
import java.util.*; import java.lang.*; import java.io.*; class Ideone { public static void main (String[] args) throws java.lang.Exception { 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"); } } }