結果
| 問題 | No.88 次はどっちだ |
| コンテスト | |
| ユーザー |
ふう
|
| 提出日時 | 2015-01-26 14:58:48 |
| 言語 | C++11 (gcc 15.2.0 + boost 1.89.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 649 bytes |
| 記録 | |
| コンパイル時間 | 451 ms |
| コンパイル使用メモリ | 107,896 KB |
| 実行使用メモリ | 7,844 KB |
| 最終ジャッジ日時 | 2026-03-07 17:25:54 |
| 合計ジャッジ時間 | 1,002 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 7 WA * 4 |
ソースコード
#define _CRT_SECURE_NO_WARNINGS
#define _USE_MATH_DEFINES
#include <iostream>
#include <map>
#include <list>
#include <cstdio>
#include <cmath>
#include <cstring>
#include <string>
#include <vector>
#include <algorithm>
#include <utility>
#include <queue>
#include <iomanip>
using namespace std;
int main(void)
{
string name;
string line;
int cnt = 0;
cin >> name;
for (int i = 0; i < 8; i++) {
cin >> line;
for (int j = 0; j < line.length(); j++) {
if(line[i] != '.') cnt++;
}
}
if (cnt % 2 == 0) cout << name << endl;
else {
if (name == "oda") cout << "yukiko" << endl;
else cout << "oda" << endl;
}
return (0);
}
ふう