結果
問題 |
No.700 LOVE
|
ユーザー |
![]() |
提出日時 | 2018-07-16 00:13:43 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 36 ms / 2,000 ms |
コード長 | 610 bytes |
コンパイル時間 | 104 ms |
コンパイル使用メモリ | 12,672 KB |
実行使用メモリ | 10,880 KB |
最終ジャッジ日時 | 2024-07-22 23:25:21 |
合計ジャッジ時間 | 1,457 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 16 |
ソースコード
def getinputdata(): array_result = [] data = input() # 配列初期化 array_result.append(data.split(" ")) flg = 1 try: while flg: data = input() if(data != ""): array_result.append(data.split(" ")) else: flg = 0 finally: return array_result arr_data = getinputdata() n=int(arr_data[0][0]) m=int(arr_data[0][1]) for i in range(1,1+n): if "LOVE" in arr_data[i][0]: print("YES") break else: print("NO")