結果

問題 No.88 次はどっちだ
ユーザー a2011404a2011404
提出日時 2017-03-17 09:40:48
言語 C90
(gcc 11.4.0)
結果
WA  
実行時間 -
コード長 308 bytes
コンパイル時間 123 ms
コンパイル使用メモリ 23,916 KB
実行使用メモリ 4,380 KB
最終ジャッジ日時 2023-09-17 19:20:12
合計ジャッジ時間 767 ms
ジャッジサーバーID
(参考情報)
judge15 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 WA -
testcase_02 WA -
testcase_03 WA -
testcase_04 WA -
testcase_05 WA -
testcase_06 WA -
testcase_07 WA -
testcase_08 WA -
testcase_09 WA -
testcase_10 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <stdio.h>


int main(void){
	int 	i,j,w=0;
	char	c[7],b[9];

	scanf("%s",&c);

	for(i=0;i<8;i++){
			scanf("%s",&b);
		for(j=0;j<8;j++){
			if(b[j]=='.') w++;
		}
	}

	printf("%d\n",w);

	if(w%2==0)	printf(c[0] == 'y' ? "yukiko" : "oda");
	else		printf(c[0] == 'y' ? "oda" : "yukiko");

	return 0;
}
0