結果
問題 | No.56 消費税 |
ユーザー | 37zigen |
提出日時 | 2016-04-01 14:44:21 |
言語 | Java21 (openjdk 21) |
結果 |
WA
|
実行時間 | - |
コード長 | 249 bytes |
コンパイル時間 | 1,982 ms |
コンパイル使用メモリ | 74,744 KB |
実行使用メモリ | 56,436 KB |
最終ジャッジ日時 | 2024-04-10 07:05:05 |
合計ジャッジ時間 | 6,977 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 138 ms
54,348 KB |
testcase_01 | AC | 142 ms
54,136 KB |
testcase_02 | AC | 140 ms
54,112 KB |
testcase_03 | WA | - |
testcase_04 | AC | 141 ms
54,360 KB |
testcase_05 | AC | 141 ms
54,468 KB |
testcase_06 | AC | 140 ms
54,160 KB |
testcase_07 | AC | 140 ms
54,352 KB |
testcase_08 | AC | 141 ms
54,460 KB |
testcase_09 | AC | 139 ms
54,244 KB |
testcase_10 | AC | 141 ms
54,136 KB |
testcase_11 | AC | 143 ms
54,288 KB |
testcase_12 | AC | 141 ms
54,472 KB |
testcase_13 | AC | 141 ms
54,312 KB |
testcase_14 | AC | 142 ms
54,388 KB |
testcase_15 | AC | 140 ms
54,288 KB |
testcase_16 | AC | 142 ms
54,244 KB |
testcase_17 | WA | - |
testcase_18 | WA | - |
testcase_19 | WA | - |
testcase_20 | WA | - |
testcase_21 | WA | - |
testcase_22 | WA | - |
testcase_23 | WA | - |
testcase_24 | WA | - |
testcase_25 | WA | - |
testcase_26 | WA | - |
ソースコード
package yukicoder056; import java.util.Scanner; public class Main { public static void main(String[] args){ Scanner sc=new Scanner(System.in); double d=sc.nextDouble(); double p=sc.nextDouble(); System.out.println((int)(d*(1+p/100))); } }