結果
問題 | No.88 次はどっちだ |
ユーザー | 👑 cologne |
提出日時 | 2022-01-27 15:10:59 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 74 ms / 5,000 ms |
コード長 | 300 bytes |
コンパイル時間 | 395 ms |
コンパイル使用メモリ | 86,980 KB |
実行使用メモリ | 71,444 KB |
最終ジャッジ日時 | 2023-08-26 15:29:16 |
合計ジャッジ時間 | 2,168 ms |
ジャッジサーバーID (参考情報) |
judge11 / judge14 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 72 ms
71,316 KB |
testcase_01 | AC | 73 ms
71,400 KB |
testcase_02 | AC | 72 ms
71,208 KB |
testcase_03 | AC | 74 ms
71,236 KB |
testcase_04 | AC | 73 ms
71,068 KB |
testcase_05 | AC | 73 ms
71,180 KB |
testcase_06 | AC | 73 ms
71,320 KB |
testcase_07 | AC | 73 ms
70,964 KB |
testcase_08 | AC | 72 ms
71,352 KB |
testcase_09 | AC | 73 ms
71,404 KB |
testcase_10 | AC | 72 ms
71,444 KB |
ソースコード
import sys def input(): return sys.stdin.readline().rstrip() def main(): S = input() B = [input() for i in range(8)] c = sum(b.count('.') for b in B) if (c % 2 == 0) == (S == 'oda'): print('oda') else: print('yukiko') if __name__ == '__main__': main()