結果
| 問題 |
No.88 次はどっちだ
|
| コンテスト | |
| ユーザー |
togatoga
|
| 提出日時 | 2015-08-24 17:42:44 |
| 言語 | Python2 (2.7.18) |
| 結果 |
AC
|
| 実行時間 | 12 ms / 5,000 ms |
| コード長 | 492 bytes |
| コンパイル時間 | 73 ms |
| コンパイル使用メモリ | 7,040 KB |
| 実行使用メモリ | 6,944 KB |
| 最終ジャッジ日時 | 2024-07-18 13:09:12 |
| 合計ジャッジ時間 | 687 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 11 |
ソースコード
S = raw_input()
board = []
for x in range(8):
T = list(raw_input())
board.append(T)
cnt = 0
for y in range(8):
for x in range(8):
if (y == 3):
if (x == 3 or x == 4):
continue
if (y == 4):
if (x == 3 or x == 4):
continue
if (board[y][x] != '.'):
cnt += 1
if (cnt % 2 == 1):
if (S == "yukiko"):
print "oda"
else:
print "yukiko"
else:
print S
togatoga