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

Правка en1, от 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?

Теги brute force, xor

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en3 Английский 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 Английский tatya_bichu 2018-07-01 09:57:31 18
en1 Английский tatya_bichu 2018-07-01 09:56:35 340 Initial revision (published)