結果

問題 No.88 次はどっちだ
ユーザー Navier_BoltzmannNavier_Boltzmann
提出日時 2022-09-10 02:04:08
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 21 ms / 5,000 ms
コード長 328 bytes
コンパイル時間 762 ms
コンパイル使用メモリ 10,596 KB
実行使用メモリ 8,676 KB
最終ジャッジ日時 2023-08-17 07:58:53
合計ジャッジ時間 1,046 ms
ジャッジサーバーID
(参考情報)
judge12 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 20 ms
8,596 KB
testcase_01 AC 21 ms
8,528 KB
testcase_02 AC 20 ms
8,524 KB
testcase_03 AC 20 ms
8,672 KB
testcase_04 AC 20 ms
8,676 KB
testcase_05 AC 20 ms
8,484 KB
testcase_06 AC 20 ms
8,604 KB
testcase_07 AC 20 ms
8,628 KB
testcase_08 AC 21 ms
8,664 KB
testcase_09 AC 21 ms
8,580 KB
testcase_10 AC 21 ms
8,668 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

from collections import *
from itertools import *
from functools import *
import math,sys
input = sys.stdin.readline

S = input()[:-1]
B = [input()[:-1] for _ in range(8)]
cnt = 0
for b in B:
    cnt += b.count('.')
if cnt%2==0:
    print(S)
else:
    if S=='oda':
        print('yukiko')
    else:
        print('oda')
        
0