結果

問題 No.88 次はどっちだ
ユーザー ldsyb
提出日時 2016-03-01 14:32:47
言語 C++11(廃止可能性あり)
(gcc 13.3.0)
結果
WA  
実行時間 -
コード長 327 bytes
コンパイル時間 437 ms
コンパイル使用メモリ 55,408 KB
実行使用メモリ 6,948 KB
最終ジャッジ日時 2024-09-24 13:07:22
合計ジャッジ時間 932 ms
ジャッジサーバーID
(参考情報)
judge1 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 7 WA * 4
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>
#include <string>
using namespace std;

int main(){
   int count = 0;
   string s,board;
   cin >> s;
   for(int i = 0;i < 8;i++){
      cin >> board;
      for(int j = 0;j < 8;j++) if(s[j] != '.') count++;
   }
   if(s == "oda" == count % 2 == 0) cout << "oda" << endl;
   else cout << "yukiko" << endl;
}
0