polosatic's blog

By polosatic, history, 22 months ago, translation, In English

Hello, Codeforces. I submitted two very similar solutions to 1771F - Hossam and Range Minimum Query

TL: 193157567 AC: 193157512

You can see that they are different in one line with map. I have no idea why the first solution gets TL.

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

»
22 months ago, # |
  Vote: I like it +6 Vote: I do not like it

Long long takes about double execution time as compared to int afaik!

Long long is usually slower than int

»
22 months ago, # |
  Vote: I like it +13 Vote: I do not like it

usually 64bit compilers work better with 64bit numbers than 32bit compilers do. that might be the case