結果

問題 No.56 消費税
ユーザー fal_rndfal_rnd
提出日時 2017-03-31 16:01:41
言語 Java21
(openjdk 21)
結果
AC  
実行時間 129 ms / 5,000 ms
コード長 301 bytes
コンパイル時間 1,864 ms
コンパイル使用メモリ 70,976 KB
実行使用メモリ 56,148 KB
最終ジャッジ日時 2023-09-25 03:57:58
合計ジャッジ時間 6,431 ms
ジャッジサーバーID
(参考情報)
judge13 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 125 ms
55,684 KB
testcase_01 AC 126 ms
55,768 KB
testcase_02 AC 126 ms
55,428 KB
testcase_03 AC 125 ms
55,932 KB
testcase_04 AC 126 ms
56,148 KB
testcase_05 AC 124 ms
55,808 KB
testcase_06 AC 123 ms
55,692 KB
testcase_07 AC 126 ms
56,084 KB
testcase_08 AC 126 ms
55,848 KB
testcase_09 AC 124 ms
53,996 KB
testcase_10 AC 126 ms
55,568 KB
testcase_11 AC 126 ms
55,800 KB
testcase_12 AC 126 ms
55,680 KB
testcase_13 AC 125 ms
55,952 KB
testcase_14 AC 124 ms
56,008 KB
testcase_15 AC 124 ms
55,840 KB
testcase_16 AC 125 ms
55,772 KB
testcase_17 AC 126 ms
55,944 KB
testcase_18 AC 124 ms
55,684 KB
testcase_19 AC 126 ms
55,684 KB
testcase_20 AC 127 ms
55,676 KB
testcase_21 AC 128 ms
55,728 KB
testcase_22 AC 128 ms
55,960 KB
testcase_23 AC 129 ms
55,624 KB
testcase_24 AC 127 ms
55,680 KB
testcase_25 AC 127 ms
55,816 KB
testcase_26 AC 126 ms
55,808 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;

public class Main{

	static Scanner s=new Scanner(System.in);

	public static void main(String __[]){
		input();
		solve();
	}

	private static void input(){
	}

	private static void solve(){
		int a=s.nextInt(),b=s.nextInt();
		System.out.println((int)(a*b/100.0+a));
	}
}
0