結果

問題 No.88 次はどっちだ
ユーザー hkawa117hkawa117
提出日時 2015-09-04 09:58:06
言語 Python2
(2.7.18)
結果
WA  
実行時間 -
コード長 246 bytes
コンパイル時間 144 ms
コンパイル使用メモリ 6,524 KB
実行使用メモリ 6,056 KB
最終ジャッジ日時 2023-09-26 04:18:24
合計ジャッジ時間 913 ms
ジャッジサーバーID
(参考情報)
judge14 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 12 ms
5,916 KB
testcase_01 WA -
testcase_02 AC 11 ms
5,996 KB
testcase_03 AC 11 ms
5,848 KB
testcase_04 AC 11 ms
5,928 KB
testcase_05 AC 11 ms
6,036 KB
testcase_06 WA -
testcase_07 AC 12 ms
6,056 KB
testcase_08 AC 11 ms
5,852 KB
testcase_09 WA -
testcase_10 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

S = raw_input()
bcnt = 0
wcnt = 0
for i in range(8):
    t = tuple(raw_input().split())
    bcnt += t.count('b')
    wcnt += t.count('w')

if bcnt == wcnt:
    print S
else:
    if S == 'oda':
        print 'yukiko'
    else:
        print 'oda'
0