結果

問題 No.56 消費税
ユーザー mosmos_21mosmos_21
提出日時 2017-06-17 21:46:49
言語 Java21
(openjdk 21)
結果
WA  
実行時間 -
コード長 262 bytes
コンパイル時間 1,986 ms
コンパイル使用メモリ 73,936 KB
実行使用メモリ 58,080 KB
最終ジャッジ日時 2024-04-08 20:36:12
合計ジャッジ時間 6,430 ms
ジャッジサーバーID
(参考情報)
judge12 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 129 ms
57,696 KB
testcase_01 AC 129 ms
57,668 KB
testcase_02 AC 127 ms
57,688 KB
testcase_03 WA -
testcase_04 AC 126 ms
57,936 KB
testcase_05 AC 126 ms
57,672 KB
testcase_06 AC 127 ms
56,172 KB
testcase_07 AC 128 ms
57,668 KB
testcase_08 AC 114 ms
56,692 KB
testcase_09 AC 123 ms
57,708 KB
testcase_10 AC 126 ms
57,676 KB
testcase_11 AC 125 ms
57,808 KB
testcase_12 AC 128 ms
57,672 KB
testcase_13 AC 127 ms
57,676 KB
testcase_14 AC 130 ms
57,780 KB
testcase_15 AC 126 ms
57,804 KB
testcase_16 AC 126 ms
57,832 KB
testcase_17 WA -
testcase_18 WA -
testcase_19 WA -
testcase_20 WA -
testcase_21 WA -
testcase_22 WA -
testcase_23 WA -
testcase_24 WA -
testcase_25 WA -
testcase_26 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;
public class Main {
    static Scanner in = new Scanner(System.in);
    public static void main(String[] args) {
        int i = in.nextInt();
        double d = in.nextInt() / 100.0 + 1;
        System.out.println((int)(i *d));
    }
}
0