結果

問題 No.56 消費税
ユーザー Tsukasa_TypeTsukasa_Type
提出日時 2018-02-09 13:10:15
言語 Java21
(openjdk 21)
結果
AC  
実行時間 135 ms / 5,000 ms
コード長 250 bytes
コンパイル時間 1,882 ms
コンパイル使用メモリ 73,964 KB
実行使用メモリ 41,776 KB
最終ジャッジ日時 2024-04-15 21:27:17
合計ジャッジ時間 6,292 ms
ジャッジサーバーID
(参考情報)
judge5 / judge4
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 118 ms
40,768 KB
testcase_01 AC 130 ms
41,544 KB
testcase_02 AC 117 ms
41,004 KB
testcase_03 AC 128 ms
40,972 KB
testcase_04 AC 120 ms
40,752 KB
testcase_05 AC 119 ms
40,912 KB
testcase_06 AC 133 ms
41,436 KB
testcase_07 AC 115 ms
40,712 KB
testcase_08 AC 127 ms
41,016 KB
testcase_09 AC 127 ms
41,308 KB
testcase_10 AC 126 ms
40,960 KB
testcase_11 AC 134 ms
41,392 KB
testcase_12 AC 126 ms
41,240 KB
testcase_13 AC 129 ms
41,320 KB
testcase_14 AC 135 ms
41,428 KB
testcase_15 AC 129 ms
41,448 KB
testcase_16 AC 130 ms
41,428 KB
testcase_17 AC 131 ms
41,748 KB
testcase_18 AC 126 ms
41,140 KB
testcase_19 AC 126 ms
40,956 KB
testcase_20 AC 121 ms
41,000 KB
testcase_21 AC 126 ms
40,636 KB
testcase_22 AC 129 ms
41,436 KB
testcase_23 AC 126 ms
40,852 KB
testcase_24 AC 132 ms
41,776 KB
testcase_25 AC 126 ms
40,988 KB
testcase_26 AC 127 ms
41,552 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;

public class Main {
	static Scanner sc = new Scanner(System.in);
	public static void main(String[] args) {
		double a = sc.nextDouble();
		double b = sc.nextDouble();
		double c = a + a*(b/100);
		System.out.println((int)c);
	}
}
0