結果

問題 No.56 消費税
ユーザー バカらっくバカらっく
提出日時 2019-09-17 21:56:46
言語 Kotlin
(1.9.23)
結果
AC  
実行時間 312 ms / 5,000 ms
コード長 122 bytes
コンパイル時間 15,619 ms
コンパイル使用メモリ 414,796 KB
実行使用メモリ 52,980 KB
最終ジャッジ日時 2023-09-21 20:18:31
合計ジャッジ時間 26,783 ms
ジャッジサーバーID
(参考情報)
judge14 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 302 ms
52,660 KB
testcase_01 AC 300 ms
52,944 KB
testcase_02 AC 299 ms
52,768 KB
testcase_03 AC 299 ms
52,744 KB
testcase_04 AC 301 ms
52,856 KB
testcase_05 AC 312 ms
52,600 KB
testcase_06 AC 302 ms
52,740 KB
testcase_07 AC 310 ms
52,576 KB
testcase_08 AC 302 ms
52,780 KB
testcase_09 AC 306 ms
52,732 KB
testcase_10 AC 303 ms
52,568 KB
testcase_11 AC 303 ms
52,980 KB
testcase_12 AC 304 ms
52,676 KB
testcase_13 AC 302 ms
52,692 KB
testcase_14 AC 306 ms
52,668 KB
testcase_15 AC 300 ms
52,768 KB
testcase_16 AC 297 ms
52,724 KB
testcase_17 AC 302 ms
52,668 KB
testcase_18 AC 301 ms
52,560 KB
testcase_19 AC 297 ms
52,708 KB
testcase_20 AC 309 ms
52,784 KB
testcase_21 AC 300 ms
52,980 KB
testcase_22 AC 295 ms
52,688 KB
testcase_23 AC 303 ms
52,648 KB
testcase_24 AC 298 ms
52,748 KB
testcase_25 AC 297 ms
52,720 KB
testcase_26 AC 306 ms
52,952 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.kt:2:10: warning: parameter 'arr' is never used
fun main(arr:Array<String>) {
         ^

ソースコード

diff #

fun main(arr:Array<String>) {
    val (a,b) = readLine()!!.split(" ").map { it.toInt() }
    println((a*(100+b))/ 100)
}
0