結果

問題 No.56 消費税
ユーザー DevbotBotDevbotBot
提出日時 2015-06-24 17:17:41
言語 Java21
(openjdk 21)
結果
AC  
実行時間 147 ms / 5,000 ms
コード長 228 bytes
コンパイル時間 3,825 ms
コンパイル使用メモリ 72,364 KB
実行使用メモリ 56,336 KB
最終ジャッジ日時 2023-09-25 03:04:24
合計ジャッジ時間 8,695 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 141 ms
56,100 KB
testcase_01 AC 141 ms
56,304 KB
testcase_02 AC 141 ms
55,804 KB
testcase_03 AC 142 ms
55,612 KB
testcase_04 AC 143 ms
55,928 KB
testcase_05 AC 143 ms
55,888 KB
testcase_06 AC 142 ms
56,020 KB
testcase_07 AC 142 ms
55,776 KB
testcase_08 AC 141 ms
56,008 KB
testcase_09 AC 142 ms
55,404 KB
testcase_10 AC 145 ms
56,020 KB
testcase_11 AC 144 ms
56,136 KB
testcase_12 AC 144 ms
56,168 KB
testcase_13 AC 142 ms
56,108 KB
testcase_14 AC 141 ms
56,016 KB
testcase_15 AC 140 ms
56,336 KB
testcase_16 AC 142 ms
55,896 KB
testcase_17 AC 139 ms
56,152 KB
testcase_18 AC 139 ms
56,040 KB
testcase_19 AC 140 ms
55,972 KB
testcase_20 AC 139 ms
56,296 KB
testcase_21 AC 139 ms
56,132 KB
testcase_22 AC 139 ms
54,300 KB
testcase_23 AC 140 ms
55,624 KB
testcase_24 AC 140 ms
56,080 KB
testcase_25 AC 147 ms
55,832 KB
testcase_26 AC 144 ms
55,964 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;
public class No56 {
    public static void main(String[] arg){
		Scanner sc = new Scanner(System.in);
		Double D = sc.nextDouble(), P = sc.nextDouble();
		System.out.println((int)(D * (100 + P) / 100));
		}
}
0