結果
| 問題 | No.88 次はどっちだ |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2022-09-10 02:04:08 |
| 言語 | Python3 (3.15.0 + numpy 2.5.4 + scipy 1.18.1 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 21 ms / 5,000 ms |
| + 298µs | |
| コード長 | 328 bytes |
| 記録 | |
| コンパイル時間 | 56 ms |
| コンパイル使用メモリ | 14,976 KB |
| 実行使用メモリ | 10,880 KB |
| 最終ジャッジ日時 | 2026-09-30 03:51:50 |
| 合計ジャッジ時間 | 1,657 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 11 |
ソースコード
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')