結果

問題 No.56 消費税
ユーザー lrf141lrf141
提出日時 2017-03-07 23:16:31
言語 Scala(Beta)
(3.4.0)
結果
AC  
実行時間 1,004 ms / 5,000 ms
コード長 189 bytes
コンパイル時間 9,524 ms
コンパイル使用メモリ 216,560 KB
実行使用メモリ 62,856 KB
最終ジャッジ日時 2023-09-12 11:50:31
合計ジャッジ時間 35,628 ms
ジャッジサーバーID
(参考情報)
judge12 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 955 ms
62,376 KB
testcase_01 AC 969 ms
62,500 KB
testcase_02 AC 971 ms
62,224 KB
testcase_03 AC 965 ms
62,352 KB
testcase_04 AC 978 ms
62,768 KB
testcase_05 AC 965 ms
62,420 KB
testcase_06 AC 962 ms
62,132 KB
testcase_07 AC 971 ms
62,424 KB
testcase_08 AC 961 ms
62,400 KB
testcase_09 AC 947 ms
62,656 KB
testcase_10 AC 954 ms
62,228 KB
testcase_11 AC 949 ms
62,448 KB
testcase_12 AC 1,004 ms
62,856 KB
testcase_13 AC 965 ms
62,236 KB
testcase_14 AC 940 ms
62,540 KB
testcase_15 AC 950 ms
62,760 KB
testcase_16 AC 957 ms
62,460 KB
testcase_17 AC 962 ms
62,216 KB
testcase_18 AC 955 ms
62,468 KB
testcase_19 AC 954 ms
62,304 KB
testcase_20 AC 962 ms
62,424 KB
testcase_21 AC 969 ms
62,436 KB
testcase_22 AC 965 ms
62,504 KB
testcase_23 AC 946 ms
62,404 KB
testcase_24 AC 955 ms
62,144 KB
testcase_25 AC 951 ms
62,280 KB
testcase_26 AC 960 ms
62,444 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner
object no56{
    def main(args:Array[String]):Unit={
        val scan = new Scanner(System.in)
        val d,p = scan.nextInt
        println(d*(100+p)/100)
    }
}
0