結果

問題 No.56 消費税
ユーザー jonki324jonki324
提出日時 2018-06-04 10:49:18
言語 Java21
(openjdk 21)
結果
AC  
実行時間 126 ms / 5,000 ms
コード長 274 bytes
コンパイル時間 1,967 ms
コンパイル使用メモリ 71,584 KB
実行使用メモリ 56,584 KB
最終ジャッジ日時 2023-09-12 22:04:04
合計ジャッジ時間 6,818 ms
ジャッジサーバーID
(参考情報)
judge11 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 123 ms
55,564 KB
testcase_01 AC 121 ms
55,880 KB
testcase_02 AC 119 ms
54,140 KB
testcase_03 AC 119 ms
56,252 KB
testcase_04 AC 120 ms
55,744 KB
testcase_05 AC 120 ms
55,552 KB
testcase_06 AC 120 ms
55,492 KB
testcase_07 AC 122 ms
55,588 KB
testcase_08 AC 122 ms
55,792 KB
testcase_09 AC 121 ms
55,908 KB
testcase_10 AC 121 ms
56,268 KB
testcase_11 AC 122 ms
55,816 KB
testcase_12 AC 122 ms
56,016 KB
testcase_13 AC 124 ms
55,812 KB
testcase_14 AC 124 ms
55,972 KB
testcase_15 AC 123 ms
55,888 KB
testcase_16 AC 122 ms
56,176 KB
testcase_17 AC 122 ms
55,964 KB
testcase_18 AC 122 ms
56,128 KB
testcase_19 AC 121 ms
55,752 KB
testcase_20 AC 124 ms
56,172 KB
testcase_21 AC 124 ms
55,672 KB
testcase_22 AC 122 ms
55,448 KB
testcase_23 AC 126 ms
55,756 KB
testcase_24 AC 123 ms
56,152 KB
testcase_25 AC 123 ms
56,584 KB
testcase_26 AC 124 ms
56,380 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;

class Main {
    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        int d = scan.nextInt();
        int p = scan.nextInt();
        System.out.println(d * (100 + p) / 100);
        scan.close();
    }
}
0