結果
| 問題 | No.88 次はどっちだ |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2014-12-07 20:55:38 |
| 言語 | Ruby (4.0.1) |
| 結果 |
AC
|
| 実行時間 | 86 ms / 5,000 ms |
| コード長 | 245 bytes |
| 記録 | |
| コンパイル時間 | 46 ms |
| コンパイル使用メモリ | 9,344 KB |
| 実行使用メモリ | 15,104 KB |
| 最終ジャッジ日時 | 2026-03-04 22:57:57 |
| 合計ジャッジ時間 | 1,678 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 11 |
コンパイルメッセージ
Syntax OK
ソースコード
sente = gets.chomp
if sente == "oda"
gote = "yukiko"
else
gote = "oda"
end
count = 0
8.times do
gets.each_char do |ch|
if ch == "."
count += 1
end
end
end
if count.even?
puts sente
else
puts gote
end