結果

問題 No.88 次はどっちだ
ユーザー Laika
提出日時 2020-04-17 20:03:07
言語 C++17
(gcc 13.3.0 + boost 1.87.0)
結果
WA  
実行時間 -
コード長 369 bytes
コンパイル時間 2,430 ms
コンパイル使用メモリ 193,728 KB
最終ジャッジ日時 2025-01-09 19:35:04
ジャッジサーバーID
(参考情報)
judge3 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 7 WA * 4
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>

using namespace std;
string player[2] = {"oda", "yukiko"};
int main(){
    int cnt = 0;
    string first; cin >> first;
    
    for(int i = 0; i < 8; ++i){
        string s;
        cin >> s;
        for(int j = 0; j < 8; ++j){
            if(s[i] != '.') ++cnt;
        }
    }
    cout << player[first[1]&1 ^ cnt&1] << '\n';
    return 0;
}
0