結果
| 問題 | 
                            No.88 次はどっちだ
                             | 
                    
| コンテスト | |
| ユーザー | 
                             | 
                    
| 提出日時 | 2020-06-23 22:12:55 | 
| 言語 | C++14  (gcc 13.3.0 + boost 1.87.0)  | 
                    
| 結果 | 
                             
                                AC
                                 
                             
                            
                         | 
                    
| 実行時間 | 2 ms / 5,000 ms | 
| コード長 | 275 bytes | 
| コンパイル時間 | 1,887 ms | 
| コンパイル使用メモリ | 168,552 KB | 
| 実行使用メモリ | 6,944 KB | 
| 最終ジャッジ日時 | 2024-07-03 19:33:16 | 
| 合計ジャッジ時間 | 2,561 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge1 / judge4 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| other | AC * 11 | 
ソースコード
#include <bits/stdc++.h>
using namespace std;
#define rep(i,n) for(int i=0; i<(n); i++)
int main(){
	string s; cin>>s;
	char a; int cnt=0;
	rep(i,64){
		cin>>a;
		if(a=='w'||a=='b') cnt++;
	}
	if(cnt%2==0) cout << s << endl;
	else cout << (s=="oda"?"yukiko":"oda") <<endl;
}