結果

問題 No.700 LOVE
ユーザー crizecrize
提出日時 2018-06-15 23:10:24
言語 Python3
(3.11.6 + numpy 1.26.0 + scipy 1.11.3)
結果
WA  
(最新)
AC  
(最初)
実行時間 -
コード長 141 bytes
コンパイル時間 119 ms
コンパイル使用メモリ 10,640 KB
実行使用メモリ 7,980 KB
最終ジャッジ日時 2023-09-13 05:11:35
合計ジャッジ時間 1,340 ms
ジャッジサーバーID
(参考情報)
judge11 / judge15
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 14 ms
7,852 KB
testcase_01 AC 15 ms
7,908 KB
testcase_02 AC 14 ms
7,788 KB
testcase_03 AC 14 ms
7,780 KB
testcase_04 AC 15 ms
7,804 KB
testcase_05 AC 14 ms
7,852 KB
testcase_06 AC 15 ms
7,856 KB
testcase_07 AC 14 ms
7,924 KB
testcase_08 AC 14 ms
7,788 KB
testcase_09 AC 14 ms
7,808 KB
testcase_10 AC 14 ms
7,860 KB
testcase_11 AC 14 ms
7,800 KB
testcase_12 AC 14 ms
7,784 KB
testcase_13 AC 15 ms
7,860 KB
testcase_14 WA -
testcase_15 WA -
testcase_16 WA -
testcase_17 AC 14 ms
7,852 KB
testcase_18 AC 14 ms
7,788 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n,m=map(int,input().split())
b=str("")
for i in range(n):
    b=b+str(input())
if ('LOVE' in b)==True:
    print('YES')
else:
    print('NO')
0