結果
問題 |
No.700 LOVE
|
ユーザー |
|
提出日時 | 2019-10-17 12:18:07 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 31 ms / 2,000 ms |
コード長 | 387 bytes |
コンパイル時間 | 284 ms |
コンパイル使用メモリ | 12,544 KB |
実行使用メモリ | 10,752 KB |
最終ジャッジ日時 | 2024-07-22 23:41:06 |
合計ジャッジ時間 | 1,426 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 16 |
ソースコード
class Problem0700: def solve(this): n,m = map(int, input().split()) res = False for i in range(n): s = input().find("LOVE") if res == False and s != -1: res = True if res: print("YES") else: print("NO") if __name__ == "__main__": problem = Problem0700() problem.solve()