結果

問題 No.700 LOVE
ユーザー nobigomunobigomu
提出日時 2018-07-02 18:05:30
言語 F#
(F# 4.0)
結果
AC  
実行時間 105 ms / 2,000 ms
コード長 194 bytes
コンパイル時間 3,345 ms
コンパイル使用メモリ 159,248 KB
実行使用メモリ 25,452 KB
最終ジャッジ日時 2023-09-30 05:27:29
合計ジャッジ時間 6,366 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 102 ms
23,312 KB
testcase_01 AC 102 ms
25,272 KB
testcase_02 AC 103 ms
23,408 KB
testcase_03 AC 102 ms
23,240 KB
testcase_04 AC 103 ms
23,248 KB
testcase_05 AC 103 ms
25,452 KB
testcase_06 AC 102 ms
23,284 KB
testcase_07 AC 102 ms
23,504 KB
testcase_08 AC 103 ms
23,312 KB
testcase_09 AC 103 ms
23,324 KB
testcase_10 AC 103 ms
23,440 KB
testcase_11 AC 103 ms
23,396 KB
testcase_12 AC 105 ms
23,252 KB
testcase_13 AC 103 ms
25,224 KB
testcase_14 AC 103 ms
23,376 KB
testcase_15 AC 102 ms
23,236 KB
testcase_16 AC 103 ms
23,376 KB
testcase_17 AC 105 ms
21,264 KB
testcase_18 AC 103 ms
23,284 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Microsoft (R) F# Compiler version 11.0.0.0 for F# 5.0
Copyright (c) Microsoft Corporation. All Rights Reserved.

ソースコード

diff #

seq { for i in 1..(stdin.ReadLine().Split(' ').[0] |> int) -> stdin.ReadLine().IndexOf("LOVE") }
|> Seq.tryFind (fun i -> i <> -1)
|> function
    | None -> "NO"
    | _ -> "YES"
|> printfn "%s"
0