結果
問題 | No.2312 Turtleman and Gaming Console |
ユーザー |
👑 |
提出日時 | 2023-06-01 22:01:58 |
言語 | Lua (LuaJit 2.1.1734355927) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 238 bytes |
コンパイル時間 | 95 ms |
コンパイル使用メモリ | 5,376 KB |
実行使用メモリ | 5,248 KB |
最終ジャッジ日時 | 2024-12-28 15:16:40 |
合計ジャッジ時間 | 1,162 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 30 |
ソースコード
local a = "Lucky Turtleman"local b = "Unlucky Turtleman"local n = io.read("*n", "*l")local s = io.read()local t = io.read()for i = 1, n doif s:sub(i, i) == "o" and t:sub(i, i) == "o" thenprint(a) os.exit()endendprint(b)