Please read the new rule regarding the restriction on the use of AI tools. ×

R4mt1n's blog

By R4mt1n, 10 years ago, In English

How can I solve this problem please help :)

34E - Collisions

  • Vote: I like it
  • +2
  • Vote: I do not like it

»
10 years ago, # |
  Vote: I like it +6 Vote: I do not like it

I think you shold emulate whole process.
1. Calculate time of first collision.
2. Move all balls to this time.
3. "Collide" pairs of balls if they stay at the same point.
4. Return to step 1

Repeat process until time of first collision greater than t.