Need help in figuring it out different behaviour of output of exact same code in different IDE's with same compiler version

Правка en1, от backBencher24, 2020-09-13 09:30:22

In contest Codeforces Round 670 (Div. 2) when I submitted my code 92619898 for 1406B - Maximum Product It showed me output for 1st test case as

Output
-120
-12
0
0

and when I tested the same code for the 1st test case on my compiler as well as other online IDE's (CodeChef) compiler with the same version, the output was

Output
-120
-12
0
945

I am much confused about this behaviour and tried a lot but still unable to figure it out, Please help me in this

Теги g++

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский backBencher24 2020-09-13 09:30:22 631 Initial revision (published)