結果
| 問題 | No.88 次はどっちだ |
| コンテスト | |
| ユーザー |
hiragn
|
| 提出日時 | 2019-07-18 08:59:55 |
| 言語 | C++14 (gcc 15.2.0 + boost 1.89.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 5,000 ms |
| コード長 | 387 bytes |
| 記録 | |
| コンパイル時間 | 1,041 ms |
| コンパイル使用メモリ | 180,032 KB |
| 実行使用メモリ | 6,400 KB |
| 最終ジャッジ日時 | 2026-05-30 10:34:29 |
| 合計ジャッジ時間 | 1,978 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 11 |
ソースコード
#include <bits/stdc++.h>
using namespace std;
int main() {
string s, sente = "oda", gote = "yukiko";
cin >> s;
if (s == "yukiko") {
sente = "yukiko", gote = "oda";
}
int cnt = 0;
for (int i = 0; i < 8 * 8; ++i) {
char c;
cin >> c;
if (c != '.') cnt++;
}
cout << ((cnt % 2 == 0) ? sente : gote) << endl;
return 0;
}
hiragn