結果
| 問題 | No.700 LOVE |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2020-09-09 00:13:53 |
| 言語 | Python3 (3.14.3 + numpy 2.4.4 + scipy 1.17.1) |
| 結果 |
AC
|
| 実行時間 | 108 ms / 2,000 ms |
| コード長 | 209 bytes |
| 記録 | |
| コンパイル時間 | 452 ms |
| コンパイル使用メモリ | 20,568 KB |
| 実行使用メモリ | 15,360 KB |
| 最終ジャッジ日時 | 2026-04-03 11:41:17 |
| 合計ジャッジ時間 | 2,975 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge5_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 16 |
ソースコード
n, m = map(int, input().split())
str_list =[input() for i in range(n)]
x = 0
for i in str_list:
if 'LOVE' in str(str_list[x]):
print('YES')
exit()
else:
x += 1
print('NO')