結果
| 問題 |
No.88 次はどっちだ
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2020-06-24 20:41:13 |
| 言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 5,000 ms |
| コード長 | 262 bytes |
| コンパイル時間 | 1,941 ms |
| コンパイル使用メモリ | 194,080 KB |
| 最終ジャッジ日時 | 2025-01-11 09:54:25 |
|
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 11 |
ソースコード
#include<bits/stdc++.h>
using namespace std;
int main(){
cin.tie(0),ios::sync_with_stdio(false);
string s; cin>>s;
string t=(s=="oda"s?"yukiko"s:"oda"s);
int sum=0;
for(int i=0;i<64;++i){
char c; cin>>c;
if(c!='.')++sum;
}
cout<<(sum%2?t:s)<<"\n"s;
}