The Int and Double Trouble for Mars Lander

the given G in Mars is 3.711m/s^2
But the given vSpeed per game turn is int
And Game didn’t say vSpeed is whether round down or not after calc the G

That really confused me

So why not get them both *1000
So G=3771 mm/s^2
and vSpeed is also in “mm”

if you dont change like this ,please show me how your VSPeed Calc ,so I can know the correct vspeed for future turns.

You can’t change the input format now, as thousands of solutions rely on it.
I would advice to completely ignore the given coordinates except for the first turn. The server always keeps position and speed as floats and only rounds when printing them.

The formulas can be found in the forum, for example here.

3 Likes