結果

問題 No.56 消費税
ユーザー GrenacheGrenache
提出日時 2015-06-30 20:14:54
言語 Java21
(openjdk 21)
結果
AC  
実行時間 139 ms / 5,000 ms
コード長 301 bytes
コンパイル時間 3,725 ms
コンパイル使用メモリ 71,652 KB
実行使用メモリ 56,316 KB
最終ジャッジ日時 2023-09-25 03:05:12
合計ジャッジ時間 8,105 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 127 ms
55,768 KB
testcase_01 AC 130 ms
55,640 KB
testcase_02 AC 127 ms
55,664 KB
testcase_03 AC 128 ms
55,976 KB
testcase_04 AC 128 ms
55,744 KB
testcase_05 AC 127 ms
55,736 KB
testcase_06 AC 128 ms
55,856 KB
testcase_07 AC 128 ms
55,804 KB
testcase_08 AC 133 ms
55,412 KB
testcase_09 AC 126 ms
56,316 KB
testcase_10 AC 128 ms
55,800 KB
testcase_11 AC 128 ms
55,792 KB
testcase_12 AC 131 ms
55,520 KB
testcase_13 AC 132 ms
55,816 KB
testcase_14 AC 139 ms
55,808 KB
testcase_15 AC 127 ms
55,752 KB
testcase_16 AC 126 ms
55,908 KB
testcase_17 AC 126 ms
55,812 KB
testcase_18 AC 126 ms
55,520 KB
testcase_19 AC 126 ms
55,948 KB
testcase_20 AC 129 ms
55,908 KB
testcase_21 AC 129 ms
55,488 KB
testcase_22 AC 128 ms
55,932 KB
testcase_23 AC 128 ms
55,984 KB
testcase_24 AC 128 ms
55,948 KB
testcase_25 AC 128 ms
55,748 KB
testcase_26 AC 128 ms
55,744 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;


public class Main_yukicoder56 {

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

        int d = sc.nextInt();
        int p = sc.nextInt();

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