結果

問題 No.88 次はどっちだ
ユーザー ABKZABKZ
提出日時 2022-01-15 16:23:55
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 35 ms / 5,000 ms
コード長 199 bytes
コンパイル時間 151 ms
コンパイル使用メモリ 82,000 KB
実行使用メモリ 53,908 KB
最終ジャッジ日時 2024-05-01 13:41:53
合計ジャッジ時間 1,020 ms
ジャッジサーバーID
(参考情報)
judge5 / judge2
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 35 ms
52,876 KB
testcase_01 AC 32 ms
52,120 KB
testcase_02 AC 33 ms
52,336 KB
testcase_03 AC 33 ms
53,908 KB
testcase_04 AC 32 ms
51,872 KB
testcase_05 AC 33 ms
52,612 KB
testcase_06 AC 32 ms
52,688 KB
testcase_07 AC 33 ms
53,100 KB
testcase_08 AC 31 ms
51,820 KB
testcase_09 AC 31 ms
52,832 KB
testcase_10 AC 32 ms
52,412 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

S = input()
B = sum([list(input()) for _ in range(8)], [])

cnt = len([x for x in B if x != "."]) - 4

if cnt % 2 == 0:
  print(S)
else:
  if S == "oda":
    print("yukiko")
  else:
    print("oda")
0