Problem:

Clock minute and hour arrows cross as they revolve around.
Make code that compute how many times the arrows cross in one twelve hour period, and print list of those times.

The rules:

You can code the solution in any programming language during the weekend and have to submit it to info@olimex.com latest on Sunday March 16th.

On Monday we will upload the solutions on GitHub https://github.com/OLIMEX/WPC

You can play with your real name or with nick if you want to be anonymous, we will not disclosure your personal info if you do not want to.

1. Where does the clock starts from? Adib.

2. Given that the clock face has 12 hours before it repeats itself, and that the period of time covered is set as 12 hours, the start point should make no difference to the number of times the hands cross, or when they cross.

3. Sergey
Mar 18, 2014 @ 17:17:12

Arrows cross 11 times, i.e. every 12h/11=3927.27 seconds, or:

print(“0:00 1:05 2:10 3:16 4:21 5:27 6:32 7:38 8:43 9:49 10:54”)

Come on! That’s too easy!

4. When are you posting the solutions?

5. i agree with sergey… but maybe the difficulty was to FIND this “11”