結果
| 問題 |
No.88 次はどっちだ
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2017-03-20 23:46:58 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 327 bytes |
| コンパイル時間 | 91 ms |
| コンパイル使用メモリ | 12,672 KB |
| 実行使用メモリ | 10,624 KB |
| 最終ジャッジ日時 | 2024-07-05 04:35:19 |
| 合計ジャッジ時間 | 966 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 9 WA * 2 |
ソースコード
senin=input()
ls=[]
cnt=0
for i in range(8):
ls=list(input())
cnt+=ls.count("w")
cnt+=ls.count("b")
if senin=="oda" and cnt%2==0:
print("oda")
elif senin=="oda" and cnt%2==1:
print("yukiko")
elif senin=="yukiko" and cnt%2==0:
print("yukiko")
elif senin=="yukiko" and cnt%2==1:
print("yukiko")