結果

問題 No.56 消費税
ユーザー bellbell
提出日時 2021-02-11 00:45:37
言語 Java19
(openjdk 21)
結果
AC  
実行時間 123 ms / 5,000 ms
コード長 277 bytes
コンパイル時間 1,779 ms
コンパイル使用メモリ 71,492 KB
実行使用メモリ 58,088 KB
最終ジャッジ日時 2023-09-22 21:20:45
合計ジャッジ時間 6,173 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 117 ms
55,968 KB
testcase_01 AC 119 ms
55,524 KB
testcase_02 AC 116 ms
56,248 KB
testcase_03 AC 117 ms
56,548 KB
testcase_04 AC 117 ms
56,068 KB
testcase_05 AC 117 ms
56,384 KB
testcase_06 AC 118 ms
56,344 KB
testcase_07 AC 117 ms
56,116 KB
testcase_08 AC 115 ms
55,916 KB
testcase_09 AC 117 ms
55,816 KB
testcase_10 AC 116 ms
56,180 KB
testcase_11 AC 116 ms
56,064 KB
testcase_12 AC 117 ms
56,292 KB
testcase_13 AC 116 ms
55,908 KB
testcase_14 AC 116 ms
56,020 KB
testcase_15 AC 120 ms
56,376 KB
testcase_16 AC 117 ms
56,000 KB
testcase_17 AC 117 ms
56,440 KB
testcase_18 AC 118 ms
55,948 KB
testcase_19 AC 117 ms
56,348 KB
testcase_20 AC 116 ms
58,088 KB
testcase_21 AC 117 ms
55,692 KB
testcase_22 AC 116 ms
53,632 KB
testcase_23 AC 115 ms
55,856 KB
testcase_24 AC 116 ms
55,468 KB
testcase_25 AC 123 ms
55,692 KB
testcase_26 AC 115 ms
56,100 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;

public class Main{
    public static void main(String[] args){
        Scanner sc=new Scanner(System.in);
        int D=sc.nextInt();
        int P=sc.nextInt();

        int ans=D*P/100;

        System.out.println(D+ans);

            sc.close();
    }
}
0