結果
| 問題 | 
                            No.88 次はどっちだ
                             | 
                    
| コンテスト | |
| ユーザー | 
                             | 
                    
| 提出日時 | 2021-08-24 00:16:53 | 
| 言語 | C++14  (gcc 13.3.0 + boost 1.87.0)  | 
                    
| 結果 | 
                             
                                AC
                                 
                             
                            
                         | 
                    
| 実行時間 | 3 ms / 5,000 ms | 
| コード長 | 280 bytes | 
| コンパイル時間 | 2,085 ms | 
| コンパイル使用メモリ | 170,380 KB | 
| 実行使用メモリ | 5,248 KB | 
| 最終ジャッジ日時 | 2024-11-08 05:45:23 | 
| 合計ジャッジ時間 | 2,367 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge1 / judge5 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| other | AC * 11 | 
ソースコード
#include<bits/stdc++.h>
using namespace std;
int main(){
    vector<string> a={"oda","yukiko"};
    string s,t;
    cin>>t;
    if(t!=a[0])swap(a[0],a[1]);
    for(int i=0;i<8;i++){
        cin>>t;
        s+=t;
    }
    cout<<(count(s.begin(),s.end(),'.')%2?a[1]:a[0])<<endl;
}