Problem 1690. Return elapsed time

Created by Matthew Eicholtz in Community

Write a function that returns the amount of time it takes to run the function, as measured by tic and toc. Your answer must be correct to within 5 milliseconds.

Basic template is:

t = timetorun()

Solution Stats

4.36% Correct | 95.64% Incorrect
Last solution submitted on Apr 03, 2019