結果

問題 No.56 消費税
ユーザー yuki2006yuki2006
提出日時 2014-11-04 00:04:33
言語 Java21
(openjdk 21)
結果
AC  
実行時間 124 ms / 5,000 ms
コード長 347 bytes
コンパイル時間 3,091 ms
コンパイル使用メモリ 71,436 KB
実行使用メモリ 56,424 KB
最終ジャッジ日時 2023-09-25 01:34:28
合計ジャッジ時間 7,735 ms
ジャッジサーバーID
(参考情報)
judge11 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 122 ms
56,200 KB
testcase_01 AC 120 ms
55,820 KB
testcase_02 AC 122 ms
55,844 KB
testcase_03 AC 119 ms
55,732 KB
testcase_04 AC 119 ms
55,848 KB
testcase_05 AC 121 ms
56,008 KB
testcase_06 AC 121 ms
56,284 KB
testcase_07 AC 122 ms
55,952 KB
testcase_08 AC 120 ms
56,176 KB
testcase_09 AC 122 ms
56,424 KB
testcase_10 AC 120 ms
55,964 KB
testcase_11 AC 118 ms
55,428 KB
testcase_12 AC 120 ms
55,976 KB
testcase_13 AC 120 ms
55,840 KB
testcase_14 AC 120 ms
56,248 KB
testcase_15 AC 124 ms
56,136 KB
testcase_16 AC 121 ms
55,708 KB
testcase_17 AC 120 ms
55,744 KB
testcase_18 AC 120 ms
53,768 KB
testcase_19 AC 120 ms
55,704 KB
testcase_20 AC 121 ms
56,028 KB
testcase_21 AC 124 ms
55,904 KB
testcase_22 AC 123 ms
55,792 KB
testcase_23 AC 124 ms
55,656 KB
testcase_24 AC 123 ms
55,964 KB
testcase_25 AC 122 ms
55,740 KB
testcase_26 AC 122 ms
56,012 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;

public class Yuki056 {
    public static void main(String[] args) {
        Yuki056 hoge = new Yuki056();
    }

    Yuki056() {
        Scanner scanner = new Scanner(System.in);
        int D = scanner.nextInt();
        int P = scanner.nextInt();

        System.out.println(D + D * P / 100);
    }

}
0