contestada

What is the difference between:
Everyone is having a hard time (passing) the test.

VS

Everyone is have a hard time (to pass) the test.