結果
| 問題 | No.203 ゴールデン・ウィーク(1) |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2019-11-09 15:29:53 |
| 言語 | Kotlin (2.3.20) |
| 結果 |
RE
(最新)
AC
(最初)
|
| 実行時間 | - |
| コード長 | 115 bytes |
| 記録 | |
| コンパイル時間 | 8,823 ms |
| コンパイル使用メモリ | 456,336 KB |
| 実行使用メモリ | 58,828 KB |
| 最終ジャッジ日時 | 2026-04-04 17:16:18 |
| 合計ジャッジ時間 | 15,736 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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)}