結果

問題 No.56 消費税
ユーザー yuki2006yuki2006
提出日時 2014-11-04 00:00:19
言語 Java19
(openjdk 21)
結果
AC  
実行時間 129 ms / 5,000 ms
コード長 355 bytes
コンパイル時間 5,162 ms
コンパイル使用メモリ 71,312 KB
実行使用メモリ 56,632 KB
最終ジャッジ日時 2023-09-25 01:34:00
合計ジャッジ時間 9,788 ms
ジャッジサーバーID
(参考情報)
judge14 / judge12
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 122 ms
55,640 KB
testcase_01 AC 122 ms
55,644 KB
testcase_02 AC 122 ms
55,672 KB
testcase_03 AC 124 ms
55,704 KB
testcase_04 AC 120 ms
55,808 KB
testcase_05 AC 129 ms
55,648 KB
testcase_06 AC 124 ms
55,492 KB
testcase_07 AC 122 ms
55,548 KB
testcase_08 AC 122 ms
55,480 KB
testcase_09 AC 124 ms
55,928 KB
testcase_10 AC 126 ms
55,760 KB
testcase_11 AC 124 ms
55,784 KB
testcase_12 AC 124 ms
55,892 KB
testcase_13 AC 123 ms
55,848 KB
testcase_14 AC 126 ms
55,844 KB
testcase_15 AC 122 ms
55,728 KB
testcase_16 AC 126 ms
55,960 KB
testcase_17 AC 126 ms
55,820 KB
testcase_18 AC 125 ms
55,524 KB
testcase_19 AC 127 ms
55,284 KB
testcase_20 AC 124 ms
55,556 KB
testcase_21 AC 124 ms
55,808 KB
testcase_22 AC 125 ms
55,376 KB
testcase_23 AC 124 ms
56,632 KB
testcase_24 AC 123 ms
55,620 KB
testcase_25 AC 122 ms
56,432 KB
testcase_26 AC 123 ms
55,584 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 * 100 + D * P) / 100);
    }

}
0