Hackerrank [Compile Error]

Правка en1, от Kochekov, 2021-05-22 09:03:03

Hello CF community,

I encountered interesting compile error(bug?) while I was preparing contest on Hackerrank. When I run this code:

Code

(you can open any problem and paste it on IDE part of problem), I get this type of error log:

Error (stderr)

And interesting part is that when I change "r+1" to "r" in the code, it works without problem. I do not think it stem from lack of Hackerrank's provided "stack memory". Maybe it cause because of their integrated optimizations in low level while compiling code, but I could not figure out myself. I would be happy if you share you experience if you encountered this type of problem before.

Thanks

Теги #hackerrank, #bug

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский Kochekov 2021-05-22 09:03:03 1840 Initial revision (published)