当前你的浏览器版本过低,网站已在兼容模式下运行,兼容模式仅提供最小功能支持,网站样式可能显示不正常。
请尽快升级浏览器以体验网站在线编辑、在线运行等功能。
3 10 10 1 1 9 9 10 10 0 5 5 10 10 10 1 0 1 10
Case #1: 6.0 6.0 Case #2: Collision will not happen. Case #3: 6.0 5.0
In first example, two balls move from (1, 1) and (9, 9) both with velocity (1, 1), the ball starts from (9, 9) will rebound at point (10, 10) then move with velocity (−1, −1). The two balls will meet each other at (6, 6).
Recommend | liuyiding |
时间上限 | 内存上限 |
15000/15000MS(Java/Others) | 512000/512000K(Java/Others) |