結果

問題 No.56 消費税
ユーザー KisaragiEffectiveKisaragiEffective
提出日時 2019-11-09 00:24:47
言語 Kotlin
(1.9.23)
結果
WA  
実行時間 -
コード長 113 bytes
コンパイル時間 12,110 ms
コンパイル使用メモリ 421,692 KB
実行使用メモリ 55,256 KB
最終ジャッジ日時 2023-10-13 05:57:06
合計ジャッジ時間 20,295 ms
ジャッジサーバーID
(参考情報)
judge11 / judge12
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 283 ms
53,060 KB
testcase_01 AC 282 ms
53,272 KB
testcase_02 AC 282 ms
53,244 KB
testcase_03 WA -
testcase_04 AC 280 ms
53,076 KB
testcase_05 AC 280 ms
53,132 KB
testcase_06 AC 286 ms
53,228 KB
testcase_07 AC 284 ms
53,240 KB
testcase_08 AC 283 ms
53,132 KB
testcase_09 AC 286 ms
53,064 KB
testcase_10 AC 284 ms
53,264 KB
testcase_11 AC 279 ms
53,204 KB
testcase_12 AC 282 ms
53,128 KB
testcase_13 AC 283 ms
53,136 KB
testcase_14 AC 280 ms
53,088 KB
testcase_15 AC 281 ms
53,116 KB
testcase_16 AC 278 ms
53,080 KB
testcase_17 WA -
testcase_18 WA -
testcase_19 WA -
testcase_20 WA -
testcase_21 WA -
testcase_22 WA -
testcase_23 WA -
testcase_24 WA -
testcase_25 WA -
testcase_26 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

fun main(){val(d, r)=readLine()!!.split(" ").map {it.toDouble()}
println(kotlin.math.floor(d*(1+r/100)).toInt())}
0