結果

問題 No.791 うし数列
ユーザー KisaragiEffectiveKisaragiEffective
提出日時 2019-12-06 17:24:59
言語 Kotlin
(1.9.23)
結果
AC  
実行時間 284 ms / 2,000 ms
コード長 92 bytes
コンパイル時間 13,514 ms
コンパイル使用メモリ 412,472 KB
実行使用メモリ 52,264 KB
最終ジャッジ日時 2023-08-25 00:11:28
合計ジャッジ時間 19,763 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 277 ms
50,416 KB
testcase_01 AC 267 ms
50,312 KB
testcase_02 AC 269 ms
50,516 KB
testcase_03 AC 269 ms
50,204 KB
testcase_04 AC 277 ms
50,384 KB
testcase_05 AC 276 ms
50,268 KB
testcase_06 AC 267 ms
52,264 KB
testcase_07 AC 271 ms
50,360 KB
testcase_08 AC 280 ms
50,580 KB
testcase_09 AC 272 ms
50,248 KB
testcase_10 AC 270 ms
50,600 KB
testcase_11 AC 271 ms
50,468 KB
testcase_12 AC 284 ms
50,384 KB
testcase_13 AC 277 ms
50,164 KB
testcase_14 AC 278 ms
50,408 KB
testcase_15 AC 274 ms
50,316 KB
testcase_16 AC 273 ms
50,588 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

fun main() {
    println(Regex("^13+$").find(readLine()!!)?.value?.length?.minus(1) ?: -1)
}
0