Блог пользователя H3X

Автор H3X, 11 лет назад, По-английски

http://codeforces.com/contest/136/submission/3133932

It outputs 10 on my pc but judge says it outputs 0, for the 2nd test case.

Any help?

  • Проголосовать: нравится
  • +2
  • Проголосовать: не нравится

»
11 лет назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

Try Microsot Visual C++ 2010 compiler.

»
11 лет назад, # |
  Проголосовать: нравится +14 Проголосовать: не нравится

I think the problem is that the variable move1 is not initialized move1 = s.size() - 2 - move1;

»
11 лет назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

I'v a problem like this with my codes.

I think you use old version of the compiler( or not the version that CF works on).

Or maybe you (don't) use -O2 for compiling (becuase it will change sth(e.g. your memory) on your computer while running your code !)

I wish my experience would be useful for you :D