結果
| 問題 |
No.88 次はどっちだ
|
| コンテスト | |
| ユーザー |
a_ten
|
| 提出日時 | 2016-03-22 22:24:19 |
| 言語 | Python2 (2.7.18) |
| 結果 |
AC
|
| 実行時間 | 10 ms / 5,000 ms |
| コード長 | 258 bytes |
| コンパイル時間 | 280 ms |
| コンパイル使用メモリ | 6,948 KB |
| 実行使用メモリ | 6,272 KB |
| 最終ジャッジ日時 | 2024-10-01 13:12:08 |
| 合計ジャッジ時間 | 1,036 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 11 |
ソースコード
#coding:utf-8
S=raw_input()
B=[raw_input() for i in range(8)]
s=''
for i in B:
s+=i
if S=='oda':
if (s.count('b')+s.count('w'))%2==0:
print 'oda'
else:
print 'yukiko'
else:
if (s.count('b')+s.count('w'))%2==0:
print 'yukiko'
else:
print 'oda'
a_ten