cyber_simar's blog

By cyber_simar, history, 3 months ago, In English

Lately I have been having a hard time to identify and apply binary search on problems. So it there any playlist to prepare for binary search?

Full text and comments »

  • Vote: I like it
  • 0
  • Vote: I do not like it

By cyber_simar, history, 4 months ago, In English

Given an array A of length n(n≤105, ai<250), divide it into two subsequences X and Y such that (x1|x2...) ⊕ (y1|y2...) is maximum. Print the maximum OR(X) ⊕ OR(Y).

Any help would be appreciated. Thanks!

Full text and comments »

  • Vote: I like it
  • +3
  • Vote: I do not like it

By cyber_simar, history, 4 months ago, In English

Hello! This code is working fine locally, so I don't know why it's giving me the Exit code is 1 Runtime Error. Can anyone take a look? Thank you. The submission

Full text and comments »

  • Vote: I like it
  • -1
  • Vote: I do not like it