結果
| 問題 | 
                            No.88 次はどっちだ
                             | 
                    
| コンテスト | |
| ユーザー | 
                             Pictogram1010
                         | 
                    
| 提出日時 | 2016-07-19 16:57:14 | 
| 言語 | C++11(廃止可能性あり)  (gcc 13.3.0)  | 
                    
| 結果 | 
                             
                                AC
                                 
                             
                            
                         | 
                    
| 実行時間 | 2 ms / 5,000 ms | 
| コード長 | 291 bytes | 
| コンパイル時間 | 411 ms | 
| コンパイル使用メモリ | 56,844 KB | 
| 実行使用メモリ | 5,248 KB | 
| 最終ジャッジ日時 | 2024-10-15 17:20:24 | 
| 合計ジャッジ時間 | 999 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge3 / judge5 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| other | AC * 11 | 
ソースコード
#include<iostream>
#include<string>
using namespace std;
int main()
{
	string S1, S2;
	char B;
	cin >> S1;
	S2 = S1 == "oda" ? "yukiko" : "oda";
	int count = 0;
	for (int i = 0; i < 64; i++){
		cin >> B;
		count += (B != '.') ? 1 : 0;
	}
	cout << ((count % 2 == 0) ? S1 : S2) << endl;
}
            
            
            
        
            
Pictogram1010