Confusion in problem Codeforces Round #443 (Div. 1)

Revision en1, by tatya_bichu, 2018-07-01 09:56:35

In this problem is it necessary to apply all given operations type? because we can simply find the result of given input and output the XOR of (result,n) . For example: 3 | 3 ^ 2 | 1 result of operations is 1 ,so to get 1 we can have 3^2, so output : 1 ^ 2 am I missing something?

Tags brute force, xor

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en3 English tatya_bichu 2018-07-01 09:58:19 58 Tiny change: 'In this pr' -> '[Problem] \n(http://mirror.codeforces.com/contest/878/problem/A)In this pr'
en2 English tatya_bichu 2018-07-01 09:57:31 18
en1 English tatya_bichu 2018-07-01 09:56:35 340 Initial revision (published)