Since it's a maths test, what you've been told is correct. In the real world, however, I might be inclined to pick the second swimmer, on the basis that her average time is only 0.1s slower than the first's but she has swum the fastest time. On her best day, she's the (slightly) faster swimmer.