結果

問題 No.946 箱箱箱
ユーザー tamato
提出日時 2019-12-09 09:06:18
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 202 bytes
コンパイル時間 699 ms
コンパイル使用メモリ 82,432 KB
実行使用メモリ 59,264 KB
最終ジャッジ日時 2024-06-11 20:46:19
合計ジャッジ時間 3,818 ms
ジャッジサーバーID
(参考情報)
judge2 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 46 WA * 5
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys
input = sys.stdin.buffer.readline

N = int(input())
tmp = 0
for _ in range(N):
    a = int(input())
    tmp ^= a
    if tmp == 0:
        print('Takahashi')
        exit()
print('Takanashi')
0