In recent codeforces div 4 round In Problem E triple operations my code is giving different output than what is on local machine
Here is my submission 275029038
I do not understand why is that so myoutput 
codeforces output 
In recent codeforces div 4 round In Problem E triple operations my code is giving different output than what is on local machine
Here is my submission 275029038
I do not understand why is that so myoutput 
codeforces output 
In recent codeforces div 2 contest I got wa because of this in problem C — counting orders
I don's understand what is difference between two ,Aren't they both same ?
Here is my submission for which got wa
https://mirror.codeforces.com/contest/1828/submission/205934626
Here is same submission for which got ac by changing ans = ans* something
https://mirror.codeforces.com/contest/1828/submission/205934493