当前你的浏览器版本过低,网站已在兼容模式下运行,兼容模式仅提供最小功能支持,网站样式可能显示不正常。
请尽快升级浏览器以体验网站在线编辑、在线运行等功能。
The yeti always bats at an integral angle between -90 and +90 degrees, -90° is straight down, 0° is to the right and +90° is straight up.
The penguin gets a total velocity of 25m/s regardless of the angle.
The yeti hits the 3kg penguin at exactly one meter above the ground.
Upon hitting the ground the penguin will slide along the ground, while undergoing friction. This will slow it down by 5m/s for every meter traveled.
Upon hitting a mine the penguin will be flung 2m forward through the air, and also undergo an instant increase in velocity of 4m/s forward.
If the penguin hits a spike, the game ends immediately with a score of -100. Otherwise the score will be the horizontal distance traveled in centimeters, rounded to the nearest integer.
Standard Earth gravity (9.81m/s2) is used and drag is ignored.
3 0 1 64.7 spike 2 63.9 mine 64.7 spike
6829 44 6466 34 7022 39
时间上限 | 内存上限 |
1000 | 65536 |