ANSWER:
If you and the imam were in the ruku position at the same time and you got to say the prescribed dhikr at least once, that rakah is valid.
ANSWER:
If you and the imam were in the ruku position at the same time and you got to say the prescribed dhikr at least once, that rakah is valid.