結果

問題 No.56 消費税
ユーザー ohagi_1182ohagi_1182
提出日時 2017-10-21 10:45:32
言語 Java21
(openjdk 21)
結果
AC  
実行時間 135 ms / 5,000 ms
コード長 236 bytes
コンパイル時間 2,003 ms
コンパイル使用メモリ 74,088 KB
実行使用メモリ 54,216 KB
最終ジャッジ日時 2024-05-01 09:11:35
合計ジャッジ時間 6,532 ms
ジャッジサーバーID
(参考情報)
judge4 / judge3
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 127 ms
53,984 KB
testcase_01 AC 127 ms
53,936 KB
testcase_02 AC 131 ms
54,048 KB
testcase_03 AC 130 ms
54,016 KB
testcase_04 AC 135 ms
54,068 KB
testcase_05 AC 129 ms
53,948 KB
testcase_06 AC 129 ms
53,968 KB
testcase_07 AC 128 ms
53,928 KB
testcase_08 AC 126 ms
54,084 KB
testcase_09 AC 132 ms
54,096 KB
testcase_10 AC 131 ms
53,964 KB
testcase_11 AC 132 ms
54,216 KB
testcase_12 AC 128 ms
53,956 KB
testcase_13 AC 116 ms
52,600 KB
testcase_14 AC 127 ms
54,056 KB
testcase_15 AC 130 ms
54,164 KB
testcase_16 AC 128 ms
54,140 KB
testcase_17 AC 129 ms
53,836 KB
testcase_18 AC 128 ms
53,972 KB
testcase_19 AC 131 ms
53,852 KB
testcase_20 AC 130 ms
54,084 KB
testcase_21 AC 128 ms
53,992 KB
testcase_22 AC 130 ms
53,968 KB
testcase_23 AC 127 ms
53,840 KB
testcase_24 AC 128 ms
54,204 KB
testcase_25 AC 128 ms
54,032 KB
testcase_26 AC 128 ms
54,076 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int d = sc.nextInt();
		int p = sc.nextInt();
		System.out.println((int)(d * (100 + p) / 100.0));
 	}
}

0