結果

問題 No.700 LOVE
ユーザー mlihua09mlihua09
提出日時 2020-08-28 00:01:35
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 42 ms / 2,000 ms
コード長 161 bytes
コンパイル時間 358 ms
コンパイル使用メモリ 82,396 KB
実行使用メモリ 53,092 KB
最終ジャッジ日時 2024-07-22 23:49:24
合計ジャッジ時間 1,870 ms
ジャッジサーバーID
(参考情報)
judge4 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 16
権限があれば一括ダウンロードができます

ソースコード

diff #


x = 'LOVE'

n, m = map(int, input().split())

for i in range(n):
    
    if x in input():
        
        print('YES')
        
        exit()



print('NO')
0