結果

問題 No.56 消費税
ユーザー ohagi_1182ohagi_1182
提出日時 2017-10-21 10:48:33
言語 Java21
(openjdk 21)
結果
AC  
実行時間 140 ms / 5,000 ms
コード長 227 bytes
コンパイル時間 2,214 ms
コンパイル使用メモリ 74,020 KB
実行使用メモリ 54,296 KB
最終ジャッジ日時 2024-05-01 09:12:05
合計ジャッジ時間 6,731 ms
ジャッジサーバーID
(参考情報)
judge4 / judge1
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 129 ms
54,224 KB
testcase_01 AC 130 ms
54,292 KB
testcase_02 AC 131 ms
54,140 KB
testcase_03 AC 134 ms
54,032 KB
testcase_04 AC 131 ms
54,152 KB
testcase_05 AC 131 ms
53,812 KB
testcase_06 AC 133 ms
53,924 KB
testcase_07 AC 140 ms
54,264 KB
testcase_08 AC 134 ms
54,200 KB
testcase_09 AC 136 ms
54,132 KB
testcase_10 AC 136 ms
53,940 KB
testcase_11 AC 129 ms
54,196 KB
testcase_12 AC 133 ms
54,264 KB
testcase_13 AC 132 ms
53,992 KB
testcase_14 AC 129 ms
54,072 KB
testcase_15 AC 130 ms
54,288 KB
testcase_16 AC 130 ms
54,104 KB
testcase_17 AC 132 ms
54,064 KB
testcase_18 AC 128 ms
54,296 KB
testcase_19 AC 131 ms
54,112 KB
testcase_20 AC 132 ms
53,828 KB
testcase_21 AC 125 ms
54,068 KB
testcase_22 AC 132 ms
54,064 KB
testcase_23 AC 127 ms
54,196 KB
testcase_24 AC 126 ms
53,816 KB
testcase_25 AC 125 ms
54,116 KB
testcase_26 AC 125 ms
53,956 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(d * (100 + p) / 100);
 	}
}

0