結果
問題 |
No.203 ゴールデン・ウィーク(1)
|
ユーザー |
|
提出日時 | 2019-11-09 15:29:53 |
言語 | Kotlin (2.1.0) |
結果 |
RE
(最新)
AC
(最初)
|
実行時間 | - |
コード長 | 115 bytes |
コンパイル時間 | 11,650 ms |
コンパイル使用メモリ | 444,724 KB |
実行使用メモリ | 51,824 KB |
最終ジャッジ日時 | 2024-09-15 04:32:50 |
合計ジャッジ時間 | 22,175 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 28 RE * 1 |
コンパイルメッセージ
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)} ^
ソースコード
fun main(){println((readLine()!!+readLine()!!).split("x").filter{it.isNotEmpty()}.map{it.count{it=='o'}}.max()?:0)}