結果

問題 No.1415 100の倍数かつ正整数(1)
ユーザー face4face4
提出日時 2021-04-09 19:25:22
言語 Kotlin
(1.9.23)
結果
AC  
実行時間 295 ms / 2,000 ms
コード長 154 bytes
コンパイル時間 12,938 ms
コンパイル使用メモリ 414,948 KB
実行使用メモリ 53,088 KB
最終ジャッジ日時 2023-09-07 07:33:18
合計ジャッジ時間 20,179 ms
ジャッジサーバーID
(参考情報)
judge15 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 288 ms
52,420 KB
testcase_01 AC 263 ms
49,936 KB
testcase_02 AC 264 ms
50,240 KB
testcase_03 AC 269 ms
49,976 KB
testcase_04 AC 275 ms
50,164 KB
testcase_05 AC 288 ms
52,528 KB
testcase_06 AC 269 ms
50,128 KB
testcase_07 AC 292 ms
52,548 KB
testcase_08 AC 290 ms
52,792 KB
testcase_09 AC 275 ms
49,984 KB
testcase_10 AC 274 ms
50,000 KB
testcase_11 AC 293 ms
53,088 KB
testcase_12 AC 288 ms
52,752 KB
testcase_13 AC 272 ms
50,004 KB
testcase_14 AC 295 ms
52,688 KB
testcase_15 AC 270 ms
50,128 KB
testcase_16 AC 289 ms
52,820 KB
testcase_17 AC 271 ms
50,228 KB
testcase_18 AC 291 ms
52,784 KB
testcase_19 AC 288 ms
52,808 KB
testcase_20 AC 289 ms
52,560 KB
testcase_21 AC 285 ms
52,840 KB
testcase_22 AC 271 ms
50,128 KB
testcase_23 AC 290 ms
52,604 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.kt:1:10: warning: parameter 'args' is never used
fun main(args: Array<String>) {
         ^

ソースコード

diff #

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