Skip to main content
3 of 3
deleted 93 characters in body
Chas Brown
  • 9.8k
  • 1
  • 13
  • 39

Python 2, 84 75 bytes

lambda c,a:reduce(lambda(h,m),(d,e):(d&e)and(0,0)or((h+d)%24,(m+e)%60),a,c)

Try it online!

Function that takes time as a tuple (hour,minute); outputs same way.

Chas Brown
  • 9.8k
  • 1
  • 13
  • 39