結果
問題 | No.88 次はどっちだ |
ユーザー |
|
提出日時 | 2021-10-13 13:59:21 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 5,000 ms |
コード長 | 363 bytes |
コンパイル時間 | 1,871 ms |
コンパイル使用メモリ | 190,408 KB |
実行使用メモリ | 6,944 KB |
最終ジャッジ日時 | 2024-09-17 16:16:52 |
合計ジャッジ時間 | 2,372 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 11 |
ソースコード
#define _GLIBCXX_DEBUG#define ll long long#include <bits/stdc++.h>using namespace std;using Graph = vector<vector<int>>;int main(){string S; cin >> S;int now = 0;if(S == "oda") now++;for(int i = 0; i < 64; i++){char C; cin >> C;if(C != '.') now++;}string ans;now%2 == 0 ? ans = "yukiko" : ans = "oda";cout << ans << endl;}