結果
| 問題 | 
                            No.88 次はどっちだ
                             | 
                    
| コンテスト | |
| ユーザー | 
                             | 
                    
| 提出日時 | 2017-03-20 23:50:16 | 
| 言語 | Python3  (3.13.1 + numpy 2.2.1 + scipy 1.14.1)  | 
                    
| 結果 | 
                             
                                AC
                                 
                             
                            
                         | 
                    
| 実行時間 | 31 ms / 5,000 ms | 
| コード長 | 324 bytes | 
| コンパイル時間 | 77 ms | 
| コンパイル使用メモリ | 12,544 KB | 
| 実行使用メモリ | 10,752 KB | 
| 最終ジャッジ日時 | 2024-07-05 04:35:18 | 
| 合計ジャッジ時間 | 1,076 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge4 / judge3 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| other | AC * 11 | 
ソースコード
senin=input()
ls=[]
cnt=0
for i in range(8):
    ls=list(input())
    cnt+=ls.count("w")
    cnt+=ls.count("b")
if senin=="oda" and cnt%2==0:
    print("oda")
elif senin=="oda" and cnt%2==1:
    print("yukiko")
elif senin=="yukiko" and cnt%2==0:
    print("yukiko")
elif senin=="yukiko" and cnt%2==1:
    print("oda")