The dash here is a substitution for a verb
и последним (вошел) бедно одетый юноша с книгами в руках.