Use the gettimeofday() (from sys/time.h) to find the average running time of a given piece of code (the time_me()), by running it 10 times. The code provided in the link below defines a function time_me(). This function takes the parameter N as argument (integer argument) and is of type void.

You can find the function to be timed here: http://pastebin.com/r1JHP7Xu

Note
: Also include the header "unistd.h" in your code. This is required for the sleep() function.
Important: Please read the submission guidelines before you submit your code.