結果

問題 No.418 ミンミンゼミ
ユーザー komkomhkomkomh
提出日時 2019-06-09 10:45:16
言語 Kotlin
(1.9.23)
結果
AC  
実行時間 334 ms / 1,000 ms
コード長 156 bytes
コンパイル時間 12,677 ms
コンパイル使用メモリ 430,348 KB
実行使用メモリ 57,000 KB
最終ジャッジ日時 2024-04-30 20:58:41
合計ジャッジ時間 22,469 ms
ジャッジサーバーID
(参考情報)
judge2 / judge4
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 334 ms
56,768 KB
testcase_01 AC 328 ms
56,836 KB
testcase_02 AC 330 ms
56,708 KB
testcase_03 AC 325 ms
56,724 KB
testcase_04 AC 331 ms
56,816 KB
testcase_05 AC 325 ms
56,716 KB
testcase_06 AC 317 ms
56,876 KB
testcase_07 AC 326 ms
56,736 KB
testcase_08 AC 330 ms
56,732 KB
testcase_09 AC 322 ms
56,728 KB
testcase_10 AC 317 ms
56,708 KB
testcase_11 AC 319 ms
56,692 KB
testcase_12 AC 315 ms
56,872 KB
testcase_13 AC 322 ms
56,916 KB
testcase_14 AC 325 ms
56,716 KB
testcase_15 AC 319 ms
56,820 KB
testcase_16 AC 322 ms
56,896 KB
testcase_17 AC 319 ms
56,744 KB
testcase_18 AC 319 ms
56,772 KB
testcase_19 AC 324 ms
56,696 KB
testcase_20 AC 322 ms
56,736 KB
testcase_21 AC 319 ms
56,908 KB
testcase_22 AC 318 ms
57,000 KB
testcase_23 AC 323 ms
56,724 KB
testcase_24 AC 317 ms
56,796 KB
testcase_25 AC 326 ms
56,836 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

package yukicoder

fun main() {
    val S = readLine()!!

    val count = S.replace("-", "").chunked(3).filter { it == "min" }.count()
    println(count)
}
0