結果

問題 No.56 消費税
ユーザー YukimotoPGYukimotoPG
提出日時 2019-02-14 14:27:17
言語 Java21
(openjdk 21)
結果
AC  
実行時間 128 ms / 5,000 ms
コード長 214 bytes
コンパイル時間 1,958 ms
コンパイル使用メモリ 71,784 KB
実行使用メモリ 56,600 KB
最終ジャッジ日時 2023-10-11 12:37:28
合計ジャッジ時間 6,865 ms
ジャッジサーバーID
(参考情報)
judge12 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 125 ms
56,000 KB
testcase_01 AC 126 ms
56,116 KB
testcase_02 AC 124 ms
56,136 KB
testcase_03 AC 124 ms
55,876 KB
testcase_04 AC 123 ms
56,600 KB
testcase_05 AC 124 ms
56,144 KB
testcase_06 AC 125 ms
55,996 KB
testcase_07 AC 125 ms
56,124 KB
testcase_08 AC 124 ms
55,648 KB
testcase_09 AC 123 ms
55,644 KB
testcase_10 AC 124 ms
55,972 KB
testcase_11 AC 128 ms
55,856 KB
testcase_12 AC 124 ms
55,888 KB
testcase_13 AC 123 ms
55,796 KB
testcase_14 AC 124 ms
56,100 KB
testcase_15 AC 125 ms
55,548 KB
testcase_16 AC 126 ms
55,968 KB
testcase_17 AC 124 ms
55,860 KB
testcase_18 AC 125 ms
54,480 KB
testcase_19 AC 125 ms
55,756 KB
testcase_20 AC 124 ms
55,500 KB
testcase_21 AC 125 ms
55,988 KB
testcase_22 AC 128 ms
55,652 KB
testcase_23 AC 124 ms
55,568 KB
testcase_24 AC 123 ms
56,348 KB
testcase_25 AC 124 ms
55,500 KB
testcase_26 AC 125 ms
55,896 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;

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