結果
| 問題 |
No.88 次はどっちだ
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2016-04-03 00:25:30 |
| 言語 | Lua (LuaJit 2.1.1734355927) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 5,000 ms |
| コード長 | 251 bytes |
| コンパイル時間 | 238 ms |
| コンパイル使用メモリ | 5,120 KB |
| 実行使用メモリ | 5,376 KB |
| 最終ジャッジ日時 | 2024-10-02 12:31:21 |
| 合計ジャッジ時間 | 719 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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