Round #483 Div1B doubt

Revision en1, by yaksha, 2018-05-16 22:26:33

Hi,

I have seen the editorial of Div1B of the recent round and completely understood it. .

There is this recursion there that , f[i...j] = f[i...j-1] ^ f[i+1 ... j]

Now I get that some people noticed this via observation of patterns and some mentioned in comments that we can prove it through induction .

I want to ask people who solved this fastly in contest timings , how did you get to this solution?

If you made observations only , how did you make fast observations?

In case you actually "GOT" to the solution mathematically ( not proved through induction , but constructively ) , how did you do that?

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English yaksha 2018-05-16 22:26:33 647 Initial revision (published)