結果

問題 No.56 消費税
ユーザー rf141rf141
提出日時 2015-12-30 23:31:48
言語 Scala(Beta)
(3.4.0)
結果
AC  
実行時間 979 ms / 5,000 ms
コード長 194 bytes
コンパイル時間 9,769 ms
コンパイル使用メモリ 231,664 KB
実行使用メモリ 62,792 KB
最終ジャッジ日時 2023-09-11 23:02:29
合計ジャッジ時間 37,302 ms
ジャッジサーバーID
(参考情報)
judge11 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 961 ms
62,416 KB
testcase_01 AC 961 ms
62,468 KB
testcase_02 AC 949 ms
62,316 KB
testcase_03 AC 966 ms
62,496 KB
testcase_04 AC 974 ms
62,436 KB
testcase_05 AC 977 ms
62,740 KB
testcase_06 AC 974 ms
62,540 KB
testcase_07 AC 979 ms
62,524 KB
testcase_08 AC 977 ms
62,320 KB
testcase_09 AC 962 ms
62,492 KB
testcase_10 AC 965 ms
62,364 KB
testcase_11 AC 962 ms
62,316 KB
testcase_12 AC 950 ms
62,360 KB
testcase_13 AC 963 ms
62,528 KB
testcase_14 AC 965 ms
62,248 KB
testcase_15 AC 961 ms
62,744 KB
testcase_16 AC 973 ms
62,792 KB
testcase_17 AC 970 ms
62,452 KB
testcase_18 AC 958 ms
62,464 KB
testcase_19 AC 957 ms
62,308 KB
testcase_20 AC 958 ms
62,480 KB
testcase_21 AC 958 ms
62,320 KB
testcase_22 AC 956 ms
62,476 KB
testcase_23 AC 971 ms
62,356 KB
testcase_24 AC 971 ms
62,372 KB
testcase_25 AC 966 ms
62,552 KB
testcase_26 AC 962 ms
62,360 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;

object tax{
	def main(args:Array[String]):Unit = {
		val scan = new Scanner(System.in)
		val a = scan.nextInt()
		val b = scan.nextInt()

		println(a*(100+b)/100)
	}
}
0