結果

問題 No.700 LOVE
ユーザー daleksprinter
提出日時 2018-06-24 13:23:17
言語 Python2
(2.7.18)
結果
AC  
実行時間 12 ms / 2,000 ms
コード長 153 bytes
コンパイル時間 406 ms
コンパイル使用メモリ 6,912 KB
実行使用メモリ 6,944 KB
最終ジャッジ日時 2024-07-22 23:23:13
合計ジャッジ時間 1,251 ms
ジャッジサーバーID
(参考情報)
judge4 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 16
権限があれば一括ダウンロードができます

ソースコード

diff #

import re
import sys
n,m = map(int,raw_input().split())

for i in range(n):
	if re.match(r'.*LOVE.*',raw_input()):
		print 'YES'
		sys.exit()

print 'NO'
0