The student who reaches first.
Work Step by Step
The paths are not known. However, it does not matter. Work is change in potential energy of the students, which is same for both students. So, the student who took shorter time i.e. who reaches first has expended higher average power.