for this solution-[submission: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?
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?