Hello. I'm having a problem with with this. My code outputs good answers for every test I could find, but it still gets WA. Could you guys take a look at it?
the problem: http://www.spoj.com/problems/HANDS/
my code: AC (the problem was with reading hours and minutes)