結果

問題 No.88 次はどっちだ
ユーザー 👑 CleyL
提出日時 2020-01-16 16:50:57
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 2 ms / 5,000 ms
コード長 359 bytes
コンパイル時間 592 ms
コンパイル使用メモリ 65,084 KB
実行使用メモリ 6,944 KB
最終ジャッジ日時 2024-06-23 21:39:02
合計ジャッジ時間 1,072 ms
ジャッジサーバーID
(参考情報)
judge2 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 11
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>
using namespace std;
int main(){
    string s;cin>>s;
    int k = 0;
    for(int i = 0; 64 > i; i++){
        char t;cin>>t;
        if(t != '.')k++;
    }
    if(!(k%2)){
        cout << s << endl;
    }else{
        if(s == "oda"){
            cout << "yukiko" << endl;
        }else{
            cout << "oda" << endl;
        }
    }
}
0