Is asking a genuine question considered that bad here?

Правка en1, от Himitsu, 2018-10-22 16:15:53

This post is with respect to my other blog which I asked recently (link). Summary is that in one question the output that the codeforces judge is showing is coming different from what my terminal is showing (I am using ubuntu).

Now, I want to ask: is this not a genuine question?

If this happened in contest, then there is no way I would have gotten the solution (since it is running fine on my system!). What would you have done if you were in my situation? How will you debug the program if it is running fine on your system and not on the judge?

So, my question is why the downvotes? I think I have asked a genuine question.

I have seen the error message and it says: "Diagnostics detected issues [cpp.clang++-diagnose]: C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.11.25503\include\vector:1802:11: runtime error: addition of unsigned offset to 0x12500250 overflowed to 0x1250024c"

I seriously don't understand how my program is giving overflow and even if that were the case, why is my terminal showing the correct output.

I would appreciate if someone can give my any help regarding this.

Thank You.

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский Himitsu 2018-10-22 16:15:53 1266 Initial revision (published)