Why std::cout gave me runtime error?

Правка en2, от Naithani, 2020-06-15 16:59:36

I was solving a problem on LightOj, my solution was correct but the problem was in the std::cout, then I replaced it to printf, then It worked fine. Plz anyone reply, why this happened.

solution without cout: link

Thanks in advance :)

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en2 Английский Naithani 2020-06-15 16:59:36 134
en1 Английский Naithani 2020-06-15 16:15:43 476 Initial revision (published)