結果

問題 No.700 LOVE
ユーザー トミートミー
提出日時 2024-04-12 22:57:02
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 50 ms / 2,000 ms
コード長 250 bytes
コンパイル時間 314 ms
コンパイル使用メモリ 82,248 KB
実行使用メモリ 53,556 KB
最終ジャッジ日時 2024-04-12 22:57:04
合計ジャッジ時間 2,026 ms
ジャッジサーバーID
(参考情報)
judge1 / judge3
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 38 ms
52,208 KB
testcase_01 AC 39 ms
53,520 KB
testcase_02 AC 37 ms
53,212 KB
testcase_03 AC 38 ms
53,212 KB
testcase_04 AC 38 ms
52,684 KB
testcase_05 AC 38 ms
52,492 KB
testcase_06 AC 37 ms
52,600 KB
testcase_07 AC 38 ms
52,836 KB
testcase_08 AC 38 ms
52,952 KB
testcase_09 AC 40 ms
51,940 KB
testcase_10 AC 40 ms
53,556 KB
testcase_11 AC 39 ms
53,088 KB
testcase_12 AC 39 ms
52,560 KB
testcase_13 AC 38 ms
52,216 KB
testcase_14 AC 39 ms
52,188 KB
testcase_15 AC 38 ms
52,836 KB
testcase_16 AC 39 ms
52,288 KB
testcase_17 AC 40 ms
52,384 KB
testcase_18 AC 50 ms
52,536 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

def main():
    n,m=map(int,input().split())
    s=[]
    for i in range(n):
        s.append(input())
    for i in s:
        if i.find("LOVE")!=-1:
            print("YES")
            exit()
    print("NO")


if __name__ == "__main__":
    main()
0