結果

問題 No.700 LOVE
ユーザー 👑 obakyanobakyan
提出日時 2019-03-22 17:46:51
言語 Lua
(LuaJit 2.1.1696795921)
結果
RE  
実行時間 -
コード長 166 bytes
コンパイル時間 57 ms
コンパイル使用メモリ 5,152 KB
実行使用メモリ 4,348 KB
最終ジャッジ日時 2023-10-19 06:10:47
合計ジャッジ時間 1,093 ms
ジャッジサーバーID
(参考情報)
judge15 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 RE -
testcase_01 AC 1 ms
4,348 KB
testcase_02 AC 1 ms
4,348 KB
testcase_03 AC 2 ms
4,348 KB
testcase_04 RE -
testcase_05 RE -
testcase_06 AC 1 ms
4,348 KB
testcase_07 AC 1 ms
4,348 KB
testcase_08 RE -
testcase_09 AC 2 ms
4,348 KB
testcase_10 AC 2 ms
4,348 KB
testcase_11 RE -
testcase_12 RE -
testcase_13 RE -
testcase_14 AC 1 ms
4,348 KB
testcase_15 AC 1 ms
4,348 KB
testcase_16 AC 1 ms
4,348 KB
testcase_17 RE -
testcase_18 RE -
権限があれば一括ダウンロードができます

ソースコード

diff #

n, m = io.read("*n", "*n")
io.read("*l")
for i = 1, n, 1 do
	s = io.read()
	if string.match(s, "LOVE") ~= nil then
		io.write("YES")
		exit()
	end
end
io.write("NO")
0