結果
| 問題 | No.88 次はどっちだ |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2017-03-20 23:50:16 |
| 言語 | Python3 (3.14.3 + numpy 2.4.4 + scipy 1.17.1) |
| 結果 |
AC
|
| 実行時間 | 97 ms / 5,000 ms |
| コード長 | 324 bytes |
| 記録 | |
| コンパイル時間 | 370 ms |
| コンパイル使用メモリ | 20,700 KB |
| 実行使用メモリ | 15,356 KB |
| 最終ジャッジ日時 | 2026-03-26 11:12:07 |
| 合計ジャッジ時間 | 1,993 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 11 |
ソースコード
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("oda")