Same effort, same power output, same amount of time = effectively same amount of overall exercise. Distance traveled will vary depending on the bike. Given the simple and well-defined hypothetical question, the answer is really quite simple.
All the other nonsense going on in this thread is some combination of
- lack of reading comprehension
- obsessing over the details of a hypothetical example that is not actually germane to answering the OPs root question
- confusion about how to apply physics terms to a real world question
- just the desire to argue on BF.
I suspect #4 most strongly.