結果

問題 No.56 消費税
ユーザー yuma_shobon1108yuma_shobon1108
提出日時 2016-12-02 18:19:47
言語 Java21
(openjdk 21)
結果
AC  
実行時間 139 ms / 5,000 ms
コード長 242 bytes
コンパイル時間 1,947 ms
コンパイル使用メモリ 71,020 KB
実行使用メモリ 56,700 KB
最終ジャッジ日時 2023-09-25 03:47:06
合計ジャッジ時間 6,839 ms
ジャッジサーバーID
(参考情報)
judge11 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 137 ms
56,188 KB
testcase_01 AC 136 ms
55,944 KB
testcase_02 AC 134 ms
55,884 KB
testcase_03 AC 136 ms
55,920 KB
testcase_04 AC 136 ms
56,288 KB
testcase_05 AC 136 ms
56,216 KB
testcase_06 AC 136 ms
56,188 KB
testcase_07 AC 134 ms
55,868 KB
testcase_08 AC 135 ms
55,644 KB
testcase_09 AC 135 ms
56,208 KB
testcase_10 AC 135 ms
55,900 KB
testcase_11 AC 135 ms
55,964 KB
testcase_12 AC 133 ms
55,996 KB
testcase_13 AC 133 ms
55,660 KB
testcase_14 AC 133 ms
55,664 KB
testcase_15 AC 133 ms
56,120 KB
testcase_16 AC 135 ms
56,408 KB
testcase_17 AC 134 ms
55,832 KB
testcase_18 AC 138 ms
56,248 KB
testcase_19 AC 139 ms
56,244 KB
testcase_20 AC 137 ms
56,032 KB
testcase_21 AC 135 ms
56,184 KB
testcase_22 AC 135 ms
55,992 KB
testcase_23 AC 134 ms
56,700 KB
testcase_24 AC 135 ms
55,820 KB
testcase_25 AC 136 ms
56,208 KB
testcase_26 AC 134 ms
56,052 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;

class Question050
{
	public static void main(String[] str)
	{
	
		Scanner scan = new Scanner(System.in);
		
		double 	d = scan.nextDouble();
		double  p = scan.nextDouble()/100;
		
		System.out.println((int)(d*p+d));
	}
}
0