結果
問題 | No.88 次はどっちだ |
ユーザー |
|
提出日時 | 2014-12-07 21:08:56 |
言語 | Go (1.23.4) |
結果 |
AC
|
実行時間 | 1 ms / 5,000 ms |
コード長 | 361 bytes |
コンパイル時間 | 13,391 ms |
コンパイル使用メモリ | 227,812 KB |
実行使用メモリ | 6,820 KB |
最終ジャッジ日時 | 2024-11-25 00:09:44 |
合計ジャッジ時間 | 10,347 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 11 |
ソースコード
package mainimport "fmt"func main() {var s stringfmt.Scan(&s)t := ""if s == "oda" {t = "yukiko"} else {t = "oda"}cnt := -4for i := 0; i < 8; i++ {var b stringfmt.Scan(&b)for _, c := range b {if c != '.' {cnt++}}}if cnt%2 == 0 {fmt.Println(s)} else {fmt.Println(t)}}