naivedyam_mishra's blog

By naivedyam_mishra, history, 2 years 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?

»
2 years ago, hide # |
 
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;