当我走到教室,老师正在检查作业。
用英语 by the time 表达是:
By the time I came to the classroom, the teacher was checking my homework.
注:完全没有问题,希望帮助到您。请及时点击采纳。