結果
| 問題 | No.88 次はどっちだ |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2018-06-11 23:02:37 |
| 言語 | C++14 (gcc 15.2.0 + boost 1.89.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 5,000 ms |
| コード長 | 388 bytes |
| 記録 | |
| コンパイル時間 | 491 ms |
| コンパイル使用メモリ | 78,872 KB |
| 実行使用メモリ | 7,720 KB |
| 最終ジャッジ日時 | 2026-03-20 14:19:30 |
| 合計ジャッジ時間 | 1,059 ms |
|
ジャッジサーバーID (参考情報) |
judge3_1 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 11 |
ソースコード
#include <iostream>
#include <string>
using namespace std;
int main(int argc, char* argv[])
{
string S;
cin>>S;
int num=0;
for (int i=0;i<8;i++){
string T;
cin>>T;
for (int j=0;j<T.size();j++){
if (T[j]!='.'){
num++;
}
}
}
if (num%2==0){
cout<<S<<endl;
}else{
if (!S.compare("oda")){
cout<<"yukiko"<<endl;
}else{
cout<<"oda"<<endl;
}
}
return 0;
}