結果

問題 No.700 LOVE
ユーザー pypypymipypypymi
提出日時 2022-01-21 00:27:40
言語 PyPy3
(7.3.13)
結果
AC  
実行時間 74 ms / 2,000 ms
コード長 171 bytes
コンパイル時間 574 ms
コンパイル使用メモリ 87,084 KB
実行使用メモリ 71,560 KB
最終ジャッジ日時 2023-08-16 01:52:11
合計ジャッジ時間 3,345 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 73 ms
71,312 KB
testcase_01 AC 72 ms
71,524 KB
testcase_02 AC 72 ms
71,212 KB
testcase_03 AC 73 ms
71,524 KB
testcase_04 AC 73 ms
71,100 KB
testcase_05 AC 74 ms
71,492 KB
testcase_06 AC 73 ms
71,560 KB
testcase_07 AC 74 ms
71,252 KB
testcase_08 AC 73 ms
71,104 KB
testcase_09 AC 73 ms
71,304 KB
testcase_10 AC 72 ms
71,332 KB
testcase_11 AC 74 ms
71,332 KB
testcase_12 AC 74 ms
71,416 KB
testcase_13 AC 74 ms
71,320 KB
testcase_14 AC 72 ms
71,304 KB
testcase_15 AC 73 ms
71,340 KB
testcase_16 AC 73 ms
71,100 KB
testcase_17 AC 74 ms
71,420 KB
testcase_18 AC 73 ms
71,304 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n,m  = map(int,input().split())
flag = False
for i in range(n):
    s = input()
    if "LOVE" in s:
        flag = True
        break
print("YES") if flag else print("NO")
0