結果

問題 No.56 消費税
ユーザー kou6839kou6839
提出日時 2014-11-19 13:40:42
言語 Java19
(openjdk 21)
結果
AC  
実行時間 144 ms / 5,000 ms
コード長 237 bytes
コンパイル時間 1,981 ms
コンパイル使用メモリ 70,740 KB
実行使用メモリ 56,272 KB
最終ジャッジ日時 2023-09-25 01:41:15
合計ジャッジ時間 7,127 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 137 ms
55,808 KB
testcase_01 AC 142 ms
55,492 KB
testcase_02 AC 141 ms
55,708 KB
testcase_03 AC 138 ms
55,776 KB
testcase_04 AC 141 ms
55,696 KB
testcase_05 AC 140 ms
55,504 KB
testcase_06 AC 138 ms
55,812 KB
testcase_07 AC 138 ms
55,708 KB
testcase_08 AC 139 ms
55,932 KB
testcase_09 AC 144 ms
55,808 KB
testcase_10 AC 141 ms
55,588 KB
testcase_11 AC 141 ms
55,836 KB
testcase_12 AC 141 ms
56,048 KB
testcase_13 AC 140 ms
55,804 KB
testcase_14 AC 140 ms
56,024 KB
testcase_15 AC 141 ms
55,824 KB
testcase_16 AC 143 ms
55,816 KB
testcase_17 AC 142 ms
55,948 KB
testcase_18 AC 141 ms
55,556 KB
testcase_19 AC 141 ms
55,880 KB
testcase_20 AC 143 ms
55,628 KB
testcase_21 AC 140 ms
56,232 KB
testcase_22 AC 141 ms
56,272 KB
testcase_23 AC 140 ms
55,516 KB
testcase_24 AC 138 ms
56,144 KB
testcase_25 AC 140 ms
55,812 KB
testcase_26 AC 140 ms
55,976 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;
 

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