結果
| 問題 | No.88 次はどっちだ |
| コンテスト | |
| ユーザー |
alpha_virginis
|
| 提出日時 | 2015-03-25 22:47:07 |
| 言語 | C++11 (gcc 15.2.0 + boost 1.89.0) |
| 結果 |
WA
(最新)
AC
(最初)
|
| 実行時間 | - |
| コード長 | 525 bytes |
| 記録 | |
| コンパイル時間 | 514 ms |
| コンパイル使用メモリ | 76,996 KB |
| 実行使用メモリ | 7,844 KB |
| 最終ジャッジ日時 | 2026-03-18 09:34:39 |
| 合計ジャッジ時間 | 1,082 ms |
|
ジャッジサーバーID (参考情報) |
judge2_1 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 10 WA * 1 |
ソースコード
#include <iostream>
#include <algorithm>
int main() {
long i, j, k;
long ans;
long count = 0;
std::string str[10];
for(i = 0; i < 9; i++) {
std::cin >> str[i];
}
for(i = 1; i <= 9; i++) {
for(j = 0; j < 8; j++) {
if(str[i][j] == '.') {
count++;
}
}
}
if((count&0x01) == 0) {
std::cout << str[0] << std::endl;
}
else {
if(str[0] == "oda") {
std::cout << "yukiko" << std::endl;
}
else {
std::cout << "oda" << std::endl;
}
}
return 0;
}
alpha_virginis