結果

問題 No.56 消費税
ユーザー firiexpfiriexp
提出日時 2018-08-20 22:43:16
言語 Kotlin
(1.9.23)
結果
AC  
実行時間 294 ms / 5,000 ms
コード長 144 bytes
コンパイル時間 12,628 ms
コンパイル使用メモリ 407,880 KB
実行使用メモリ 52,876 KB
最終ジャッジ日時 2023-08-13 00:16:38
合計ジャッジ時間 21,284 ms
ジャッジサーバーID
(参考情報)
judge15 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 290 ms
52,676 KB
testcase_01 AC 293 ms
52,660 KB
testcase_02 AC 290 ms
52,656 KB
testcase_03 AC 292 ms
52,692 KB
testcase_04 AC 294 ms
52,720 KB
testcase_05 AC 293 ms
52,672 KB
testcase_06 AC 290 ms
52,828 KB
testcase_07 AC 290 ms
52,748 KB
testcase_08 AC 288 ms
52,792 KB
testcase_09 AC 288 ms
52,788 KB
testcase_10 AC 293 ms
52,876 KB
testcase_11 AC 292 ms
52,800 KB
testcase_12 AC 293 ms
52,628 KB
testcase_13 AC 290 ms
52,816 KB
testcase_14 AC 288 ms
52,836 KB
testcase_15 AC 290 ms
52,836 KB
testcase_16 AC 292 ms
52,652 KB
testcase_17 AC 292 ms
52,676 KB
testcase_18 AC 291 ms
52,608 KB
testcase_19 AC 294 ms
52,664 KB
testcase_20 AC 292 ms
52,672 KB
testcase_21 AC 289 ms
52,628 KB
testcase_22 AC 292 ms
52,804 KB
testcase_23 AC 293 ms
52,816 KB
testcase_24 AC 291 ms
52,656 KB
testcase_25 AC 289 ms
52,640 KB
testcase_26 AC 291 ms
52,684 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.kt:1:10: warning: parameter 'args' is never used
fun main(args: Array<String>){
         ^

ソースコード

diff #

fun main(args: Array<String>){
    val (d, p) = readLine()!!.split(" ").map( String::toInt)
    val ans = d * (100 + p) / 100
    println(ans)
}
0