結果
| 問題 | No.946 箱箱箱 | 
| コンテスト | |
| ユーザー |  tktk_snsn | 
| 提出日時 | 2022-05-18 17:21:21 | 
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) | 
| 結果 | 
                                WA
                                 
                             | 
| 実行時間 | - | 
| コード長 | 300 bytes | 
| コンパイル時間 | 98 ms | 
| コンパイル使用メモリ | 12,672 KB | 
| 実行使用メモリ | 10,752 KB | 
| 最終ジャッジ日時 | 2024-09-16 19:16:17 | 
| 合計ジャッジ時間 | 3,518 ms | 
| ジャッジサーバーID (参考情報) | judge3 / judge2 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 3 | 
| other | AC * 35 WA * 16 | 
ソースコード
import sys
input = sys.stdin.buffer.readline
sys.setrecursionlimit(10 ** 7)
def main():
    N = int(input())
    A = [int(input()) for _ in range(N)]
    xor = 0
    for a in A[::-1]:
        xor ^= a
        if xor == 0:
            return "h"
    return "n"
print("Taka{}ashi".format(main()))
            
            
            
        