結果
| 問題 | No.88 次はどっちだ |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2017-08-27 14:07:49 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0 + boost 1.89.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 5,000 ms |
| コード長 | 617 bytes |
| 記録 | |
| コンパイル時間 | 762 ms |
| コンパイル使用メモリ | 74,340 KB |
| 実行使用メモリ | 6,824 KB |
| 最終ジャッジ日時 | 2024-11-06 06:42:26 |
| 合計ジャッジ時間 | 1,670 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 11 |
ソースコード
#define _CRT_SECURE_NO_WARNINGS
#include <iostream>
#include <cmath>
#include <string>
#include <vector>
#include <algorithm>
#include <queue>
#include <map>
#include <functional>
#include <set>
#include <numeric>
#include <stack>
#include <utility>
//#include "util.h"
using namespace std;
typedef long long lint;
typedef pair<lint, lint> Pii;
int main()
{
string S, B;
int disc = 0;
cin >> S;
for (int i = 0; i < 8; i++) {
cin >> B;
for (int j = 0; j < 8; j++)
disc += (B[j] == '.' ? 0 : 1);
}
if (disc % 2)
cout << (S[0] == 'o' ? "yukiko" : "oda") << endl;
else
cout << S << endl;
return 0;
}