naivedyam's blog

By naivedyam, history, 5 weeks ago, In English

My solution to 1207E - XOR Guessing which is 292757488 is giving incorrect query format and I am unable to figure out why. I have ensured that all the numbers I generate have no less than 14 digit binary representation. Can someone help me figure out?

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

»
5 weeks ago, # |
  Vote: I like it 0 Vote: I do not like it

You don't have a space when outputting the answer

    cout<<"!"<<bitstring_to_int(ans)<<endl;