結果

問題 No.946 箱箱箱
ユーザー pekempeypekempey
提出日時 2019-12-09 00:33:11
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 271 bytes
コンパイル時間 308 ms
コンパイル使用メモリ 87,048 KB
実行使用メモリ 77,060 KB
最終ジャッジ日時 2023-08-30 23:14:06
合計ジャッジ時間 7,062 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 72 ms
71,376 KB
testcase_01 AC 73 ms
71,060 KB
testcase_02 AC 71 ms
71,280 KB
testcase_03 AC 96 ms
77,012 KB
testcase_04 AC 96 ms
76,712 KB
testcase_05 WA -
testcase_06 AC 97 ms
76,692 KB
testcase_07 AC 96 ms
76,896 KB
testcase_08 AC 95 ms
76,736 KB
testcase_09 WA -
testcase_10 AC 95 ms
76,720 KB
testcase_11 AC 73 ms
71,280 KB
testcase_12 AC 98 ms
77,040 KB
testcase_13 AC 97 ms
76,720 KB
testcase_14 WA -
testcase_15 WA -
testcase_16 AC 95 ms
77,020 KB
testcase_17 AC 98 ms
76,628 KB
testcase_18 AC 96 ms
76,856 KB
testcase_19 AC 95 ms
77,060 KB
testcase_20 AC 73 ms
71,228 KB
testcase_21 AC 98 ms
76,708 KB
testcase_22 AC 97 ms
76,624 KB
testcase_23 AC 95 ms
76,656 KB
testcase_24 WA -
testcase_25 AC 96 ms
76,996 KB
testcase_26 AC 95 ms
76,780 KB
testcase_27 AC 96 ms
76,728 KB
testcase_28 AC 96 ms
76,972 KB
testcase_29 WA -
testcase_30 AC 97 ms
77,036 KB
testcase_31 AC 97 ms
76,716 KB
testcase_32 AC 95 ms
76,716 KB
testcase_33 AC 95 ms
76,932 KB
testcase_34 AC 96 ms
76,996 KB
testcase_35 WA -
testcase_36 AC 96 ms
76,948 KB
testcase_37 AC 95 ms
76,952 KB
testcase_38 AC 96 ms
77,040 KB
testcase_39 AC 96 ms
77,028 KB
testcase_40 AC 98 ms
76,632 KB
testcase_41 AC 96 ms
76,716 KB
testcase_42 AC 97 ms
76,664 KB
testcase_43 AC 100 ms
76,996 KB
testcase_44 AC 96 ms
77,040 KB
testcase_45 AC 97 ms
77,016 KB
testcase_46 AC 97 ms
76,900 KB
testcase_47 AC 73 ms
71,416 KB
testcase_48 AC 72 ms
71,232 KB
testcase_49 AC 72 ms
71,412 KB
testcase_50 AC 72 ms
71,216 KB
testcase_51 WA -
testcase_52 WA -
testcase_53 AC 73 ms
71,424 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N = int(input())
A = []
for i in range(N):
  A.append(int(input()))

aru = False

x = 0
for i in range(N):
  x ^= A[i]
  if x == 0:
    aru = True
    
x = 0
for i in reversed(range(N)):
  x ^= A[i]
  if x == 0:
    aru = True

print('Takahashi' if aru else 'Takanashi')
0