結果
| 問題 | No.88 次はどっちだ |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2024-03-30 01:21:16 |
| 言語 | C++17 (gcc 15.2.0 + boost 1.90.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 5,000 ms |
| コード長 | 455 bytes |
| 記録 | |
| コンパイル時間 | 1,166 ms |
| コンパイル使用メモリ | 214,632 KB |
| 実行使用メモリ | 11,912 KB |
| 最終ジャッジ日時 | 2026-07-04 07:42:16 |
| 合計ジャッジ時間 | 2,120 ms |
|
ジャッジサーバーID (参考情報) |
judge2_1 / judge1_0 |
| 外部呼び出し有り |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 11 |
ソースコード
// コピーして使う!
#include <bits/stdc++.h>
using namespace std;
using ll = long long;
int main() {
string s;
cin>>s;
string b[8];
for(int i=0;i!=8;i++){
cin>>b[i];
}
ll cnt=0;
for(ll i=0;i!=8;i++){
for(ll j=0;j!=8;j++){
cnt+=(b[i][j]!='.');
}
}
if(cnt%2 xor s=="oda"){
cout<<"oda"<<endl;
}
else{
cout<<"yukiko"<<endl;
}
system("pause");
}