結果

問題 No.712 赤旗
ユーザー KisaragiEffectiveKisaragiEffective
提出日時 2019-12-06 17:21:06
言語 Kotlin
(1.9.23)
結果
AC  
実行時間 276 ms / 2,000 ms
コード長 127 bytes
コンパイル時間 13,297 ms
コンパイル使用メモリ 414,300 KB
実行使用メモリ 54,456 KB
最終ジャッジ日時 2023-08-25 00:05:46
合計ジャッジ時間 14,067 ms
ジャッジサーバーID
(参考情報)
judge12 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 276 ms
52,808 KB
testcase_01 AC 275 ms
52,612 KB
testcase_02 AC 271 ms
54,456 KB
testcase_03 AC 268 ms
52,644 KB
testcase_04 AC 271 ms
52,848 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

fun main() {
    readLine()
    println(System.`in`.bufferedReader().lineSequence().map { s -> s.count { it == 'W' } }.sum())
}
0