Different compiler version giving different outputs

Правка en1, от idonthatephy, 2022-08-07 11:00:58

for this solution-167359184 When i am running this code in my own personal computer it is giving me right output (compiler version g++ 11) while in codeforces it is giving the wrong or different output why is that? for ex- 1 7 gives 1 0 2 6 5 4 3 on my personal ide but it gives 6 5 4 3 2 1 0 on c++ 14. I just want to know the reason this is happening?

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en2 Английский idonthatephy 2022-08-07 21:50:58 0 (published)
en1 Английский idonthatephy 2022-08-07 11:00:58 432 Initial revision (saved to drafts)