結果
| 問題 |
No.331 CodeRunnerでやれ
|
| コンテスト | |
| ユーザー |
👑 |
| 提出日時 | 2020-05-05 15:27:44 |
| 言語 | Lua (LuaJit 2.1.1734355927) |
| 結果 |
TLE
|
| 実行時間 | - |
| コード長 | 415 bytes |
| コンパイル時間 | 32 ms |
| コンパイル使用メモリ | 6,688 KB |
| 実行使用メモリ | 89,048 KB |
| 平均クエリ数 | 222.53 |
| 最終ジャッジ日時 | 2024-07-17 03:35:32 |
| 合計ジャッジ時間 | 10,263 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 |
| other | AC * 10 TLE * 1 -- * 5 |
ソースコード
local isend = "Merry Christmas!"
local function query(str)
io.write(str .. "\n")
io.flush()
local ret = io.read("*l")
if ret == isend then os.exit() end
return ret
end
local s = io.read()
while s == "0" do
s = query("L")
end
while s ~= "0" do
s = query("F")
end
s = query("R")
while true do
s = query("L")
if s == "0" then
s = query("R")
s = query("R")
else
s = query("F")
end
end