Runtime error in Finding max xor subarray using trie?

My Solution for PROBLEM [ACM-ICPC] is not getting accepted, I am instead getting runtime error. Anyone please help me what is wrong in my code.

1 Like

@kauts_kanu @vijju123 @meooow

My guess is that something’s wrong with the test case, since even this code is getting a runtime error.
I saw the logic of your code and it appears correct to me.

//