結果
| 問題 | No.88 次はどっちだ |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2017-11-18 12:10:06 |
| 言語 | Python3 (3.14.3 + numpy 2.4.4 + scipy 1.17.1) |
| 結果 |
AC
|
| 実行時間 | 161 ms / 5,000 ms |
| コード長 | 400 bytes |
| 記録 | |
| コンパイル時間 | 588 ms |
| コンパイル使用メモリ | 20,828 KB |
| 実行使用メモリ | 15,360 KB |
| 最終ジャッジ日時 | 2026-05-20 01:58:36 |
| 合計ジャッジ時間 | 3,424 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge1_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 11 |
ソースコード
def main():
S = input()
if S == "oda":
opponent = "yukiko"
else:
opponent = "oda"
total_discs = 0
for i in range(8):
# i行目の処理
discs = list(input())
total_discs += 8 - discs.count(".")
# print(total_discs)
if total_discs % 2 == 0:
print(S)
else:
print(opponent)
if __name__ == '__main__':
main()