If you have extenuating circumstances, these will be taken into account and I would encourage you to declare them.
Even if you didn’t have the circumstances, many of these firms recruit people later on in their academics though, so if you did get your grades up in your second/third years, you would be able to apply later on with stronger grades.