結果
問題 | No.88 次はどっちだ |
ユーザー |
![]() |
提出日時 | 2019-04-27 16:46:19 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 32 ms / 5,000 ms |
コード長 | 263 bytes |
コンパイル時間 | 174 ms |
コンパイル使用メモリ | 12,800 KB |
実行使用メモリ | 10,752 KB |
最終ジャッジ日時 | 2024-11-28 14:40:31 |
合計ジャッジ時間 | 1,248 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 11 |
ソースコード
first = input()if first == "oda":second = "yukiko"elif first == "yukiko":second = "oda"s = [input() for i in range(8)]cnt = 0for i in range(8):cnt += s[i].count("b") + s[i].count("w")if cnt % 2 == 0:print(first)else:print(second)