結果
| 問題 | No.88 次はどっちだ |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2016-04-03 00:25:30 |
| 言語 | Lua (LuaJit 2.1.1791890110) |
| 結果 |
AC
不安定
|
| 実行時間 | 1 ms / 5,000 ms |
| + 82µs | |
| コード長 | 251 bytes |
| 記録 | |
| コンパイル時間 | 57 ms |
| コンパイル使用メモリ | 6,400 KB |
| 実行使用メモリ | 6,528 KB |
| 最終ジャッジ日時 | 2026-09-08 22:58:52 |
| 合計ジャッジ時間 | 1,483 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 11 |
ソースコード
-- yukicoder My Practice
-- author: Leonardone @ NEETSDKASU
s = io.read()
t = 0
for ln in io.lines() do
for c in ln:gmatch('[bw]') do
t = t + 1
end
end
if t % 2 == 0 then
print(s)
elseif s == 'oda' then
print('yukiko')
else
print('oda')
end