这里语法上可以用who,但语义不妥。 who是指你不记得那个人是谁,叫什么名字。比如:
I read a short story. I think it was by a famous author, but I can't remember who.
Someone asked for this picture, but I can't remember who.
who= who he is
而你的句子要表达的一群学生里你不记得哪些人迟到了,并不是不记得他们名字了。所以应当用which,相当于 I can't remember which of the students were late.