結果
| 問題 | No.88 次はどっちだ |
| コンテスト | |
| ユーザー |
akanaya
|
| 提出日時 | 2020-03-22 17:49:53 |
| 言語 | Python3 (3.15.0 + numpy 2.5.4 + scipy 1.18.1 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 297 ms / 5,000 ms |
| + 357µs | |
| コード長 | 532 bytes |
| 記録 | |
| コンパイル時間 | 60 ms |
| コンパイル使用メモリ | 15,232 KB |
| 実行使用メモリ | 33,920 KB |
| 最終ジャッジ日時 | 2026-10-07 16:09:08 |
| 合計ジャッジ時間 | 5,788 ms |
|
ジャッジサーバーID (参考情報) |
judge4_0 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 11 |
ソースコード
import math
import numpy as np
import queue
import sys
input = sys.stdin.readline
# sys.setrecursionlimit(25000)
s = input().strip()
players = ['oda', 'yukiko']
stones = 0
for i in range(8):
row = input()
stones += row.count('w')
stones += row.count('b')
if s == players[0] and stones % 2 == 0:
print(players[0])
if s == players[1] and stones % 2 == 0:
print(players[1])
if s == players[0] and stones % 2 == 1:
print(players[1])
if s == players[1] and stones % 2 == 1:
print(players[0])
akanaya