結果

問題 No.88 次はどっちだ
ユーザー dnish
提出日時 2017-01-04 18:07:06
言語 C++11(廃止可能性あり)
(gcc 13.3.0)
結果
WA  
実行時間 -
コード長 318 bytes
コンパイル時間 1,261 ms
コンパイル使用メモリ 159,696 KB
実行使用メモリ 6,820 KB
最終ジャッジ日時 2024-12-17 19:31:19
合計ジャッジ時間 1,990 ms
ジャッジサーバーID
(参考情報)
judge5 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 7 WA * 4
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>
using namespace std;
#define REP(i,N) for(int i=0;i<N;i++)
int main(){
	string S,T;
	char B[64];
	int total=0;
	cin>>S;
	if(S=="oda")	T="yukiko";
	else			T="oda";
	REP(i,64){
		cin>>B[i];
		if(!B[i]=='.')		total++;
	}
	if(total%2)	cout<<T<<endl;//gote
	else 	cout<<S<<endl;//sente
	return 0;
}
0