This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
########################################################################## | |
# Problem: The Clocks problem | |
# Description: suppose you have 2 clocks with the following conditions: | |
# + one clock put forward one minute each hour; and | |
# + the other clock put back one minute each hour | |
# Having both clocks showing the same time, the question is: | |
# + how long we should wait until they show the same time again? | |
# | |
# Solution by Ariel Diaz Bermejo |
NewerOlder