結果

問題 No.1415 100の倍数かつ正整数(1)
ユーザー face4face4
提出日時 2021-04-09 19:26:09
言語 Kotlin
(1.9.23)
結果
AC  
実行時間 294 ms / 2,000 ms
コード長 135 bytes
コンパイル時間 11,344 ms
コンパイル使用メモリ 413,928 KB
実行使用メモリ 53,052 KB
最終ジャッジ日時 2023-09-07 07:34:23
合計ジャッジ時間 20,306 ms
ジャッジサーバーID
(参考情報)
judge14 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 290 ms
52,848 KB
testcase_01 AC 265 ms
50,324 KB
testcase_02 AC 268 ms
50,252 KB
testcase_03 AC 269 ms
50,084 KB
testcase_04 AC 266 ms
50,320 KB
testcase_05 AC 282 ms
52,856 KB
testcase_06 AC 266 ms
50,288 KB
testcase_07 AC 294 ms
52,788 KB
testcase_08 AC 280 ms
52,924 KB
testcase_09 AC 266 ms
50,100 KB
testcase_10 AC 267 ms
50,232 KB
testcase_11 AC 284 ms
52,932 KB
testcase_12 AC 286 ms
52,832 KB
testcase_13 AC 269 ms
50,256 KB
testcase_14 AC 287 ms
52,720 KB
testcase_15 AC 269 ms
50,240 KB
testcase_16 AC 282 ms
53,028 KB
testcase_17 AC 269 ms
50,300 KB
testcase_18 AC 287 ms
53,004 KB
testcase_19 AC 286 ms
52,920 KB
testcase_20 AC 289 ms
52,812 KB
testcase_21 AC 283 ms
53,052 KB
testcase_22 AC 259 ms
50,084 KB
testcase_23 AC 287 ms
52,780 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

fun main() {
    println(readLine()!!.let{
        if(it[0]=='-' || it.length < 3) 0
        else it.substring(0..it.length-3)
    })
}
0