結果

問題 No.203 ゴールデン・ウィーク(1)
ユーザー KisaragiEffectiveKisaragiEffective
提出日時 2019-11-09 15:29:53
言語 Kotlin
(1.9.23)
結果
RE  
(最新)
AC  
(最初)
実行時間 -
コード長 115 bytes
コンパイル時間 12,254 ms
コンパイル使用メモリ 422,876 KB
実行使用メモリ 54,280 KB
最終ジャッジ日時 2023-10-13 07:17:10
合計ジャッジ時間 22,355 ms
ジャッジサーバーID
(参考情報)
judge13 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 296 ms
53,028 KB
testcase_01 RE -
testcase_02 AC 307 ms
53,232 KB
testcase_03 AC 296 ms
52,904 KB
testcase_04 AC 293 ms
52,788 KB
testcase_05 AC 295 ms
52,884 KB
testcase_06 AC 294 ms
52,872 KB
testcase_07 AC 297 ms
53,032 KB
testcase_08 AC 298 ms
53,008 KB
testcase_09 AC 297 ms
52,884 KB
testcase_10 AC 296 ms
53,072 KB
testcase_11 AC 296 ms
54,280 KB
testcase_12 AC 298 ms
53,028 KB
testcase_13 AC 294 ms
52,852 KB
testcase_14 AC 295 ms
52,876 KB
testcase_15 AC 295 ms
53,020 KB
testcase_16 AC 295 ms
52,952 KB
testcase_17 AC 295 ms
52,964 KB
testcase_18 AC 305 ms
52,960 KB
testcase_19 AC 299 ms
53,188 KB
testcase_20 AC 294 ms
52,956 KB
testcase_21 AC 300 ms
53,284 KB
testcase_22 AC 297 ms
52,876 KB
testcase_23 AC 292 ms
53,092 KB
testcase_24 AC 297 ms
53,092 KB
testcase_25 AC 294 ms
53,088 KB
testcase_26 AC 295 ms
52,972 KB
testcase_27 AC 295 ms
52,896 KB
testcase_28 AC 298 ms
52,896 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.kt:1:111: warning: elvis operator (?:) always returns the left operand of non-nullable type Int
fun main(){println((readLine()!!+readLine()!!).split("x").filter{it.isNotEmpty()}.map{it.count{it=='o'}}.max()?:0)}
                                                                                                              ^

ソースコード

diff #

fun main(){println((readLine()!!+readLine()!!).split("x").filter{it.isNotEmpty()}.map{it.count{it=='o'}}.max()?:0)}
0