結果
| 問題 |
No.946 箱箱箱
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2019-12-09 01:07:02 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 231 bytes |
| コンパイル時間 | 392 ms |
| コンパイル使用メモリ | 82,048 KB |
| 実行使用メモリ | 67,712 KB |
| 最終ジャッジ日時 | 2025-01-03 00:14:40 |
| 合計ジャッジ時間 | 5,952 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 WA * 1 |
| other | AC * 48 WA * 3 |
ソースコード
N = int(input())
A = []
for i in range(N):
A.append(int(input()))
x = 0
aru = False
for i in range(N):
x ^= A[i]
if x == 0:
aru = True
if N <= 8:
print('Takahashi')
else:
print('Takahashi' if aru else 'Takanashi')