Wrong Answer

Hi,
I’ve tried the code for “stone” problem but it says wrong answer but on my machine It works fine.Why your machine says ‘wrong answer’.Please help me

Thanks

@ajaydwivedi36 try by changing your data type to long long int, it may work

1 Like

still its saying wrong answer

Please do not discuss strategy for ongoing contest problems. Tomorrow the contest will end so if you still have problems you’ll get the help you need.