結果
問題 | No.218 経験値1.5倍 |
ユーザー | r.suzuki |
提出日時 | 2015-12-13 16:59:51 |
言語 | Java21 (openjdk 21) |
結果 |
WA
|
実行時間 | - |
コード長 | 419 bytes |
コンパイル時間 | 3,199 ms |
コンパイル使用メモリ | 71,300 KB |
実行使用メモリ | 58,000 KB |
最終ジャッジ日時 | 2023-10-13 14:57:49 |
合計ジャッジ時間 | 7,433 ms |
ジャッジサーバーID (参考情報) |
judge13 / judge15 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | WA | - |
testcase_01 | WA | - |
testcase_02 | WA | - |
testcase_03 | WA | - |
testcase_04 | WA | - |
testcase_05 | WA | - |
testcase_06 | AC | 113 ms
56,072 KB |
testcase_07 | AC | 109 ms
56,004 KB |
testcase_08 | AC | 110 ms
55,876 KB |
testcase_09 | WA | - |
testcase_10 | WA | - |
testcase_11 | WA | - |
testcase_12 | WA | - |
testcase_13 | AC | 117 ms
55,672 KB |
testcase_14 | AC | 113 ms
56,100 KB |
testcase_15 | WA | - |
testcase_16 | WA | - |
testcase_17 | AC | 109 ms
55,488 KB |
testcase_18 | AC | 107 ms
56,052 KB |
testcase_19 | WA | - |
testcase_20 | AC | 107 ms
56,404 KB |
testcase_21 | AC | 108 ms
55,776 KB |
testcase_22 | AC | 107 ms
56,364 KB |
testcase_23 | WA | - |
testcase_24 | WA | - |
testcase_25 | WA | - |
testcase_26 | WA | - |
testcase_27 | WA | - |
testcase_28 | WA | - |
testcase_29 | WA | - |
testcase_30 | WA | - |
ソースコード
public class No_218 { public static void main(String[] args) { java.util.Scanner sc = new java.util.Scanner(System.in); int valueToNextLevel = sc.nextInt(); int reinforcement = sc.nextInt(); int campaign = sc.nextInt(); float kasetsu = (float)(valueToNextLevel / campaign) / (valueToNextLevel / reinforcement); String answer = kasetsu == (float) 2 / 3 ? "YES" : "NO"; System.out.println(answer); } }