Oh No! Classes!

Limits: 1s, 512 MB

You will be given three pairs of integers, which denotes the starting and ending time in seconds of three classes.


This is a companion discussion topic for the original entry at https://toph.co/p/oh-no-classes