結果

問題 No.56 消費税
ユーザー yuma_shobon1108yuma_shobon1108
提出日時 2016-12-02 08:57:36
言語 Java21
(openjdk 21)
結果
WA  
実行時間 -
コード長 236 bytes
コンパイル時間 4,959 ms
コンパイル使用メモリ 72,096 KB
実行使用メモリ 58,416 KB
最終ジャッジ日時 2023-08-18 12:11:49
合計ジャッジ時間 7,166 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 122 ms
55,556 KB
testcase_01 AC 119 ms
56,028 KB
testcase_02 AC 121 ms
55,980 KB
testcase_03 WA -
testcase_04 AC 116 ms
56,264 KB
testcase_05 AC 132 ms
56,232 KB
testcase_06 AC 119 ms
55,900 KB
testcase_07 AC 125 ms
56,064 KB
testcase_08 AC 122 ms
56,228 KB
testcase_09 AC 119 ms
56,540 KB
testcase_10 AC 123 ms
56,104 KB
testcase_11 AC 120 ms
58,416 KB
testcase_12 AC 128 ms
56,572 KB
testcase_13 AC 122 ms
56,236 KB
testcase_14 AC 125 ms
56,172 KB
testcase_15 AC 123 ms
56,096 KB
testcase_16 AC 126 ms
55,620 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.*;

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