Cody

Solution 1038547

Submitted on 30 Oct 2016 by Peng Liu
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

This solution is outdated. To rescore this solution, sign in.

Test Suite

Test Status Code Input and Output
1   Pass
x = '24-Oct-2016 20:26:28'; y_correct = 73587999999895.69; assert(isequal(nanosecondsPassedToday(x),y_correct)) x = '24-Oct-2016 20:29:48'; y_correct = 73788000001385.8; assert(isequal(nanosecondsPassedToday(x),y_correct))