結果

問題 No.700 LOVE
ユーザー 💕💖💞💕💖💞
提出日時 2018-06-16 02:44:58
言語 Kotlin
(1.9.23)
結果
AC  
実行時間 283 ms / 2,000 ms
コード長 214 bytes
コンパイル時間 15,977 ms
コンパイル使用メモリ 414,800 KB
実行使用メモリ 53,140 KB
最終ジャッジ日時 2023-09-30 05:22:37
合計ジャッジ時間 19,630 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 255 ms
52,928 KB
testcase_01 AC 274 ms
52,888 KB
testcase_02 AC 265 ms
52,828 KB
testcase_03 AC 269 ms
53,068 KB
testcase_04 AC 269 ms
52,928 KB
testcase_05 AC 260 ms
52,872 KB
testcase_06 AC 259 ms
52,944 KB
testcase_07 AC 254 ms
53,116 KB
testcase_08 AC 259 ms
53,060 KB
testcase_09 AC 257 ms
52,948 KB
testcase_10 AC 266 ms
53,104 KB
testcase_11 AC 272 ms
53,012 KB
testcase_12 AC 279 ms
52,996 KB
testcase_13 AC 271 ms
53,140 KB
testcase_14 AC 268 ms
53,084 KB
testcase_15 AC 267 ms
53,084 KB
testcase_16 AC 273 ms
52,936 KB
testcase_17 AC 266 ms
52,924 KB
testcase_18 AC 283 ms
52,940 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.kt:1:10: warning: parameter 'args' is never used
fun main(args:Array<String>) {
         ^
Main.kt:2:11: warning: variable 'm' is never used
  val (n, m) = readLine()!!.split(" ").map(String::toInt)
          ^

ソースコード

diff #

fun main(args:Array<String>) {
  val (n, m) = readLine()!!.split(" ").map(String::toInt)
  (1..n).map { readLine()!!.contains("LOVE") }.any { it }.let { when { it == true -> "YES"; else -> "NO"} }.run(::println)
}
0