結果

問題 No.56 消費税
ユーザー firiexpfiriexp
提出日時 2018-08-20 22:43:16
言語 Kotlin
(1.9.23)
結果
AC  
実行時間 282 ms / 5,000 ms
コード長 144 bytes
コンパイル時間 9,465 ms
コンパイル使用メモリ 433,532 KB
実行使用メモリ 57,080 KB
最終ジャッジ日時 2024-04-30 19:08:35
合計ジャッジ時間 17,942 ms
ジャッジサーバーID
(参考情報)
judge5 / judge2
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 263 ms
56,912 KB
testcase_01 AC 270 ms
56,916 KB
testcase_02 AC 281 ms
56,920 KB
testcase_03 AC 270 ms
56,860 KB
testcase_04 AC 269 ms
56,856 KB
testcase_05 AC 277 ms
56,972 KB
testcase_06 AC 272 ms
56,920 KB
testcase_07 AC 266 ms
56,948 KB
testcase_08 AC 273 ms
56,804 KB
testcase_09 AC 264 ms
56,964 KB
testcase_10 AC 266 ms
56,940 KB
testcase_11 AC 267 ms
56,868 KB
testcase_12 AC 267 ms
56,784 KB
testcase_13 AC 270 ms
56,876 KB
testcase_14 AC 264 ms
56,680 KB
testcase_15 AC 275 ms
56,940 KB
testcase_16 AC 270 ms
56,936 KB
testcase_17 AC 272 ms
56,992 KB
testcase_18 AC 266 ms
56,848 KB
testcase_19 AC 272 ms
57,080 KB
testcase_20 AC 268 ms
56,900 KB
testcase_21 AC 262 ms
56,948 KB
testcase_22 AC 271 ms
56,816 KB
testcase_23 AC 268 ms
56,840 KB
testcase_24 AC 275 ms
56,804 KB
testcase_25 AC 282 ms
56,992 KB
testcase_26 AC 274 ms
56,920 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