結果
問題 | No.169 何分かかるの!? |
ユーザー | Yatsuku |
提出日時 | 2015-12-15 16:48:46 |
言語 | Java21 (openjdk 21) |
結果 |
WA
|
実行時間 | - |
コード長 | 283 bytes |
コンパイル時間 | 4,029 ms |
コンパイル使用メモリ | 70,720 KB |
実行使用メモリ | 58,160 KB |
最終ジャッジ日時 | 2023-10-13 17:08:27 |
合計ジャッジ時間 | 6,399 ms |
ジャッジサーバーID (参考情報) |
judge12 / judge15 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 122 ms
56,444 KB |
testcase_01 | WA | - |
testcase_02 | AC | 124 ms
56,324 KB |
testcase_03 | AC | 128 ms
56,000 KB |
testcase_04 | WA | - |
testcase_05 | WA | - |
testcase_06 | AC | 125 ms
56,048 KB |
testcase_07 | AC | 121 ms
56,048 KB |
testcase_08 | AC | 122 ms
56,232 KB |
testcase_09 | WA | - |
testcase_10 | WA | - |
testcase_11 | WA | - |
testcase_12 | WA | - |
testcase_13 | AC | 123 ms
56,360 KB |
testcase_14 | WA | - |
testcase_15 | AC | 118 ms
55,920 KB |
testcase_16 | WA | - |
testcase_17 | WA | - |
testcase_18 | AC | 122 ms
56,156 KB |
testcase_19 | WA | - |
testcase_20 | WA | - |
testcase_21 | WA | - |
testcase_22 | WA | - |
testcase_23 | AC | 126 ms
58,160 KB |
ソースコード
import java.util.Scanner; class No_169 { public static void main(String args[]) { Scanner stdIn = new Scanner(System.in); double percents = stdIn.nextDouble(); int minutes = stdIn.nextInt(); System.out.println((int)Math.ceil( minutes / ( 1 - (percents/100)))); } }