Rmin's blog

By Rmin, 13 years ago, In English
When usaco answer the results of your contests???
It says answer the results at 16 December but Today is 17 December????????
  • Vote: I like it
  • +15
  • Vote: I do not like it

»
13 years ago, # |
  Vote: I like it +4 Vote: I do not like it
In my country, it is 18 December ~_~
»
13 years ago, # |
  Vote: I like it 0 Vote: I do not like it
I was disappointed by the result of "Road block", because I shifted bits instead of multiplying / dividing by 2.
I'd like to ask... Is this: num <<= -1; equivalent to num >>= 1; ? I tested and it seemed to be correct, so I used it.
So, it failed 4 of 10 tests :(