this easy version problem the difference k2 you hack version problem solvedthis interactive problemevery decimal number base k equivalent the individual digit base k number call kit Lets define kitwise XOR kits b bbmod kThe kitwise XOR base k number equal new number form take kitwise XOR corresponding kit the kitwise XOR decimal number b denote aoplus_k b equal decimal representation kitwise XOR base k representation b all number statement decimal specify when k 2 true version kitwise XOR bitwise XORYou hack criminal database Rockport Police Department RPD know Rap Sheet but order access require password you do not know sure lie 0 n1 inclusive so decide guess luckily try n time block system but system adaptive each time incorrect guess change password Specifically password guess x guess different number y system change password number z xoplus_k zy Guess password break system