結果
問題 | No.88 次はどっちだ |
ユーザー |
|
提出日時 | 2020-04-17 20:07:34 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 5,000 ms |
コード長 | 370 bytes |
コンパイル時間 | 2,308 ms |
コンパイル使用メモリ | 193,732 KB |
最終ジャッジ日時 | 2025-01-09 19:35:15 |
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 11 |
ソースコード
#include <bits/stdc++.h> using namespace std; string player[2] = {"oda", "yukiko"}; int main(){ int cnt = 0; string first; cin >> first; for(int _ = 0; _ < 8; ++_){ string s; cin >> s; for(int i = 0; i < 8; ++i){ if(s[i] != '.') ++cnt; } } cout << player[first[1]&1 ^ cnt&1] << '\n'; return 0; }