結果
問題 | No.218 経験値1.5倍 |
ユーザー | HEGO55 |
提出日時 | 2017-05-17 14:43:16 |
言語 | Java21 (openjdk 21) |
結果 |
WA
|
実行時間 | - |
コード長 | 441 bytes |
コンパイル時間 | 3,764 ms |
コンパイル使用メモリ | 74,532 KB |
実行使用メモリ | 57,764 KB |
最終ジャッジ日時 | 2023-10-17 14:50:24 |
合計ジャッジ時間 | 7,196 ms |
ジャッジサーバーID (参考情報) |
judge11 / judge13 |
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 131 ms
55,804 KB |
testcase_01 | AC | 132 ms
57,436 KB |
testcase_02 | AC | 133 ms
57,472 KB |
testcase_03 | AC | 134 ms
57,404 KB |
testcase_04 | AC | 131 ms
57,520 KB |
testcase_05 | AC | 131 ms
57,412 KB |
testcase_06 | AC | 130 ms
57,496 KB |
testcase_07 | WA | - |
testcase_08 | WA | - |
testcase_09 | AC | 131 ms
57,704 KB |
testcase_10 | AC | 134 ms
57,348 KB |
testcase_11 | AC | 130 ms
57,376 KB |
testcase_12 | AC | 133 ms
57,368 KB |
testcase_13 | WA | - |
testcase_14 | AC | 134 ms
57,624 KB |
testcase_15 | WA | - |
testcase_16 | AC | 132 ms
57,552 KB |
testcase_17 | WA | - |
testcase_18 | WA | - |
testcase_19 | AC | 135 ms
57,212 KB |
testcase_20 | WA | - |
testcase_21 | WA | - |
testcase_22 | WA | - |
testcase_23 | WA | - |
testcase_24 | AC | 131 ms
57,396 KB |
testcase_25 | WA | - |
testcase_26 | AC | 131 ms
57,516 KB |
testcase_27 | WA | - |
testcase_28 | AC | 131 ms
57,484 KB |
testcase_29 | AC | 130 ms
57,520 KB |
testcase_30 | WA | - |
ソースコード
import java.util.*; class Test36{ 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; int d = a; while(a>0){ a -= b; count1++; } while(d>0){ d -= c; count2++; } if(count2>=(count1*(2/3))){ System.out.println("YES"); }else{ System.out.println("NO"); } } }