結果
| 問題 | 
                            No.88 次はどっちだ
                             | 
                    
| コンテスト | |
| ユーザー | 
                             koyopro
                         | 
                    
| 提出日時 | 2015-10-01 23:35:50 | 
| 言語 | C++11(廃止可能性あり)  (gcc 13.3.0)  | 
                    
| 結果 | 
                             
                                AC
                                 
                             
                            
                         | 
                    
| 実行時間 | 2 ms / 5,000 ms | 
| コード長 | 385 bytes | 
| コンパイル時間 | 1,550 ms | 
| コンパイル使用メモリ | 159,236 KB | 
| 実行使用メモリ | 5,376 KB | 
| 最終ジャッジ日時 | 2024-07-19 19:00:45 | 
| 合計ジャッジ時間 | 2,153 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge4 / judge5 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| other | AC * 11 | 
ソースコード
#include "bits/stdc++.h"
using namespace std;
#define REP(i, n) for(int i=0; i<(n); i++)
string s, l;
signed main()
{
    cin >> s;
    int cnt = 0;
    string ps[2] = {"oda", "yukiko"};
    if (s != "oda") swap(ps[0], ps[1]);
    REP(i,8) {
        cin >> l;
        for (char c : l) {
            if (c != '.') cnt++;
        }
    }
    cout << ps[cnt%2] << endl;
    return 0;
}
            
            
            
        
            
koyopro