結果
| 問題 |
No.88 次はどっちだ
|
| コンテスト | |
| ユーザー |
ei1333333
|
| 提出日時 | 2016-09-08 00:48:39 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 311 bytes |
| コンパイル時間 | 1,285 ms |
| コンパイル使用メモリ | 159,092 KB |
| 実行使用メモリ | 5,248 KB |
| 最終ジャッジ日時 | 2024-11-15 21:24:31 |
| 合計ジャッジ時間 | 1,857 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 4 WA * 7 |
ソースコード
#include <bits/stdc++.h>
using namespace std;
int main()
{
string S;
cin >> S;
string other = S == "oda" ? "yukiko" : "oda";
int A = 0;
for(int i = 0; i < 8; i++) {
string B;
cin >> B;
A += count(begin(B), end(B), 'w');
}
if(A & 1) cout << other << endl;
else cout << S << endl;
}
ei1333333