結果

問題 No.700 LOVE
ユーザー jiromaru
提出日時 2018-06-19 15:33:18
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
WA  
実行時間 -
コード長 209 bytes
コンパイル時間 85 ms
コンパイル使用メモリ 12,672 KB
実行使用メモリ 10,752 KB
最終ジャッジ日時 2024-06-30 17:14:40
合計ジャッジ時間 1,369 ms
ジャッジサーバーID
(参考情報)
judge2 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2 WA * 1
other AC * 15 WA * 1
権限があれば一括ダウンロードができます

ソースコード

diff #

first = input()
split_first = first.split()
N=int(split_first[0])
i=1
ans="NO"
while i!=N:
    word=input()
    if "LOVE" in word:
        ans="YES"
        break
    else:
        ans="NO"
    i+=1
print(ans)
0