結果
| 問題 |
No.88 次はどっちだ
|
| コンテスト | |
| ユーザー |
kyuridenamida
|
| 提出日時 | 2014-12-07 23:54:24 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 352 bytes |
| コンパイル時間 | 1,211 ms |
| コンパイル使用メモリ | 160,932 KB |
| 実行使用メモリ | 6,944 KB |
| 最終ジャッジ日時 | 2024-06-11 17:49:47 |
| 合計ジャッジ時間 | 1,699 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 6 WA * 5 |
ソースコード
#include <iostream>
#include <bits/stdc++.h>
using namespace std;
int main(){
string b[2] = {"oda","yukiko"};
string s;
cin >> s;
if( b[0] != s ) swap(b[0],b[1]);
string t,u;
for(int i = 0 ; i < 64 ; i++){
char c;
cin >> c;
u += c;
}
cout << b[count(u.begin(),u.end(),'b') > count(u.begin(),u.end(),'w')] << endl;
}
kyuridenamida