結果

問題 No.56 消費税
ユーザー yonaka_gggyonaka_ggg
提出日時 2020-09-06 18:18:46
言語 Java21
(openjdk 21)
結果
AC  
実行時間 125 ms / 5,000 ms
コード長 252 bytes
コンパイル時間 4,391 ms
コンパイル使用メモリ 71,476 KB
実行使用メモリ 56,288 KB
最終ジャッジ日時 2023-08-19 14:12:43
合計ジャッジ時間 7,607 ms
ジャッジサーバーID
(参考情報)
judge13 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 121 ms
55,720 KB
testcase_01 AC 119 ms
56,012 KB
testcase_02 AC 123 ms
56,116 KB
testcase_03 AC 125 ms
55,736 KB
testcase_04 AC 123 ms
56,116 KB
testcase_05 AC 123 ms
55,928 KB
testcase_06 AC 123 ms
55,712 KB
testcase_07 AC 122 ms
55,532 KB
testcase_08 AC 123 ms
55,736 KB
testcase_09 AC 122 ms
55,868 KB
testcase_10 AC 120 ms
54,384 KB
testcase_11 AC 121 ms
56,288 KB
testcase_12 AC 124 ms
56,072 KB
testcase_13 AC 123 ms
56,120 KB
testcase_14 AC 124 ms
55,988 KB
testcase_15 AC 122 ms
55,700 KB
testcase_16 AC 120 ms
56,132 KB
testcase_17 AC 121 ms
55,980 KB
testcase_18 AC 119 ms
55,680 KB
testcase_19 AC 124 ms
56,200 KB
testcase_20 AC 122 ms
55,992 KB
testcase_21 AC 122 ms
55,836 KB
testcase_22 AC 120 ms
56,268 KB
testcase_23 AC 123 ms
55,984 KB
testcase_24 AC 123 ms
55,804 KB
testcase_25 AC 125 ms
55,920 KB
testcase_26 AC 125 ms
56,052 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;

public class Main {

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int d = sc.nextInt();
        int p = sc.nextInt();

        System.out.println(d + d * p / 100);
    }

}
0