結果
| 問題 | No.88 次はどっちだ |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2020-04-17 20:03:07 |
| 言語 | C++17 (gcc 15.2.0 + boost 1.90.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 369 bytes |
| 記録 | |
| コンパイル時間 | 1,907 ms |
| コンパイル使用メモリ | 211,004 KB |
| 実行使用メモリ | 6,400 KB |
| 最終ジャッジ日時 | 2026-06-09 13:39:13 |
| 合計ジャッジ時間 | 2,161 ms |
|
ジャッジサーバーID (参考情報) |
judge1_1 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 7 WA * 4 |
ソースコード
#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;
}