What is the difference in the meaning of the following two sentences
I can't do the fourth and fifth questions but I have done all the others.
I can't do the fourth and the fifth questions but I have done all the others.
Is anyone of them ungrammatical?