結果

問題 No.88 次はどっちだ
ユーザー TANIGUCHI KousukeTANIGUCHI Kousuke
提出日時 2015-05-21 20:10:09
言語 Ruby
(3.3.0)
結果
WA  
実行時間 -
コード長 134 bytes
コンパイル時間 39 ms
コンパイル使用メモリ 11,504 KB
実行使用メモリ 15,328 KB
最終ジャッジ日時 2023-09-20 08:40:24
合計ジャッジ時間 1,822 ms
ジャッジサーバーID
(参考情報)
judge11 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 WA -
testcase_02 AC 84 ms
15,304 KB
testcase_03 AC 83 ms
15,284 KB
testcase_04 WA -
testcase_05 AC 85 ms
15,308 KB
testcase_06 AC 83 ms
15,024 KB
testcase_07 WA -
testcase_08 WA -
testcase_09 WA -
testcase_10 AC 82 ms
15,160 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

players = %w/yukiko oda/
players.reverse! if gets == "oda"
i = 8.times.map { gets.chomp }.join.scan(/[wb]/).count % 2

puts players[i]
0