結果
| 問題 |
No.700 LOVE
|
| コンテスト | |
| ユーザー |
👑 |
| 提出日時 | 2019-03-22 17:46:51 |
| 言語 | Lua (LuaJit 2.1.1734355927) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 166 bytes |
| コンパイル時間 | 36 ms |
| コンパイル使用メモリ | 5,248 KB |
| 実行使用メモリ | 5,376 KB |
| 最終ジャッジ日時 | 2024-09-19 02:29:25 |
| 合計ジャッジ時間 | 795 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 RE * 1 |
| other | AC * 8 RE * 8 |
ソースコード
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")