Cody

Solution 419644

Submitted on 18 Mar 2014 by James
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

Test Suite

Test Status Code Input and Output
1   Pass
%% tic; y=foo(1); t2=toc assert((t2>.5)&&(t2<.6))

Elapsed time is 0.000522 seconds. Elapsed time is 0.035741 seconds. Elapsed time is 0.035773 seconds. Elapsed time is 0.035793 seconds. Elapsed time is 0.035811 seconds. Elapsed time is 0.035828 seconds. Elapsed time is 0.035846 seconds. Elapsed time is 0.035864 seconds. Elapsed time is 0.035882 seconds. Elapsed time is 0.035899 seconds. Elapsed time is 0.035917 seconds. Elapsed time is 0.035935 seconds. Elapsed time is 0.035952 seconds. Elapsed time is 0.035969 seconds. Elapsed time is 0.035987 seconds. Elapsed time is 0.036004 seconds. Elapsed time is 0.036024 seconds. Elapsed time is 0.036041 seconds. Elapsed time is 0.036059 seconds. Elapsed time is 0.036076 seconds. Elapsed time is 0.036093 seconds. Elapsed time is 0.036110 seconds. Elapsed time is 0.036127 seconds. Elapsed time is 0.036144 seconds. Elapsed time is 0.036161 seconds. Elapsed time is 0.036178 seconds. Elapsed time is 0.036195 seconds. Elapsed time is 0.036212 seconds. Elapsed time is 0.036229 seconds. Elapsed time is 0.036245 seconds. Elapsed time is 0.036262 seconds. Elapsed time is 0.036294 seconds. Elapsed time is 0.036322 seconds. Elapsed time is 0.036340 seconds. Elapsed time is 0.036357 seconds. Elapsed time is 0.036374 seconds. Elapsed time is 0.036392 seconds. Elapsed time is 0.036409 seconds. Elapsed time is 0.036425 seconds. Elapsed time is 0.036442 seconds. Elapsed time is 0.036459 seconds. Elapsed time is 0.036476 seconds. Elapsed time is 0.036493 seconds. Elapsed time is 0.036509 seconds. Elapsed time is 0.036526 seconds. Elapsed time is 0.036543 seconds. Elapsed time is 0.036560 seconds. Elapsed time is 0.036577 seconds. Elapsed time is 0.036593 seconds. Elapsed time is 0.036610 seconds. Elapsed time is 0.036626 seconds. Elapsed time is 0.036643 seconds. Elapsed time is 0.036660 seconds. Elapsed time is 0.036677 seconds. Elapsed time is 0.036694 seconds. Elapsed time is 0.036711 seconds. Elapsed time is 0.036727 seconds. Elapsed time is 0.036744 seconds. Elapsed time is 0.036761 seconds. Elapsed time is 0.036778 seconds. Elapsed time is 0.036794 seconds. Elapsed time is 0.036811 seconds. Elapsed time is 0.036828 seconds. Elapsed time is 0.036844 seconds. Elapsed time is 0.036860 seconds. Elapsed time is 0.036877 seconds. Elapsed time is 0.036893 seconds. Elapsed time is 0.036910 seconds. Elapsed time is 0.036927 seconds. Elapsed time is 0.036943 seconds. Elapsed time is 0.036960 seconds. Elapsed time is 0.036977 seconds. Elapsed time is 0.036993 seconds. Elapsed time is 0.037010 seconds. Elapsed time is 0.037026 seconds. Elapsed time is 0.037043 seconds. Elapsed time is 0.037059 seconds. Elapsed time is 0.037076 seconds. Elapsed time is 0.037092 seconds. Elapsed time is 0.037109 seconds. Elapsed time is 0.037126 seconds. Elapsed time is 0.037142 seconds. Elapsed time is 0.037158 seconds. Elapsed time is 0.037175 seconds. Elapsed time is 0.037191 seconds. Elapsed time is 0.037208 seconds. Elapsed time is 0.037225 seconds. Elapsed time is 0.037241 seconds. Elapsed time is 0.037258 seconds. Elapsed time is 0.037275 seconds. Elapsed time is 0.037292 seconds. Elapsed time is 0.037308 seconds. Elapsed time is 0.037324 seconds. Elapsed time is 0.037340 seconds. Elapsed time is 0.037356 seconds. Elapsed time is 0.037372 seconds. Elapsed time is 0.037388 seconds. Elapsed time is 0.037418 seconds. Elapsed time is 0.037457 seconds. Elapsed time is 0.037477 seconds. Elapsed time is 0.037494 seconds. Elapsed time is 0.037510 seconds. Elapsed time is 0.037527 seconds. Elapsed time is 0.037544 seconds. Elapsed time is 0.037560 seconds. Elapsed time is 0.037576 seconds. Elapsed time is 0.037593 seconds. Elapsed time is 0.037609 seconds. Elapsed time is 0.037626 seconds. Elapsed time is 0.037642 seconds. Elapsed time is 0.037659 seconds. Elapsed time is 0.037675 seconds. Elapsed time is 0.037691 seconds. Elapsed time is 0.037708 seconds. Elapsed time is 0.037724 seconds. Elapsed time is 0.037740 seconds. Elapsed time is 0.037756 seconds. Elapsed time is 0.037773 seconds. Elapsed time is 0.037789 seconds. Elapsed time is 0.037806 seconds. Elapsed time is 0.037835 seconds. Elapsed time is 0.037853 seconds. Elapsed time is 0.037870 seconds. Elapsed time is 0.037886 seconds. Elapsed time is 0.037903 seconds. Elapsed time is 0.037919 seconds. Elapsed time is 0.037936 seconds. Elapsed time is 0.037952 seconds. Elapsed time is 0.037969 seconds. Elapsed time is 0.037985 seconds. Elapsed time is 0.038001 seconds. Elapsed time is 0.038017 seconds. Elapsed time is 0.038033 seconds. Elapsed time is 0.038049 seconds. Elapsed time is 0.038066 seconds. Elapsed time is 0.038082 seconds. Elapsed time is 0.038099 seconds. Elapsed time is 0.038115 seconds. Elapsed time is 0.038132 seconds. Elapsed time is 0.038148 seconds. Elapsed time is 0.038165 seconds. Elapsed time is 0.038181 seconds. Elapsed time is 0.038198 seconds. Elapsed time is 0.038214 seconds. Elapsed time is 0.038231 seconds. Elapsed time is 0.038248 seconds. Elapsed time is 0.038264 seconds. Elapsed time is 0.038280 seconds. Elapsed time is 0.038297 seconds. Elapsed time is 0.038313 seconds. Elapsed time is 0.038330 seconds. Elapsed time is 0.038347 seconds. Elapsed time is 0.038364 seconds. Elapsed time is 0.038380 seconds. Elapsed time is 0.038397 seconds. Elapsed time is 0.038414 seconds. Elapsed time is 0.038430 seconds. Elapsed time is 0.038447 seconds. Elapsed time is 0.038464 seconds. Elapsed time is 0.038480 seconds. Elapsed time is 0.038496 seconds. Elapsed time is 0.038513 seconds. Elapsed time is 0.038541 seconds. Elapsed time is 0.038568 seconds. Elapsed time is 0.038586 seconds. Elapsed time is 0.038602 seconds. Elapsed time is 0.038619 seconds. Elapsed time is 0.038636 seconds. Elapsed time is 0.038652 seconds. Elapsed time is 0.038668 seconds. Elapsed time is 0.038685 seconds. Elapsed time is 0.038701 seconds. Elapsed time is 0.038718 seconds. Elapsed time is 0.038734 seconds. Elapsed time is 0.038751 seconds. Elapsed time is 0.038767 seconds. Elapsed time is 0.038784 seconds. Elapsed time is 0.038800 seconds. Elapsed time is 0.038816 seconds. Elapsed time is 0.038832 seconds. Elapsed time is 0.038848 seconds. Elapsed time is 0.038865 seconds. Elapsed time is 0.038881 seconds. Elapsed time is 0.038897 seconds. Elapsed time is 0.038914 seconds. Elapsed time is 0.038930 seconds. Elapsed time is 0.038946 seconds. Elapsed time is 0.038963 seconds. Elapsed time is 0.038979 seconds. Elapsed time is 0.038996 seconds. Elapsed time is 0.039012 seconds. Elapsed time is 0.039029 seconds. Elapsed time is 0.039045 seconds. Elapsed time is 0.039062 seconds. Elapsed time is 0.039078 seconds. Elapsed time is 0.039095 seconds. Elapsed time is 0.039111 seconds. Elapsed time is 0.039128 seconds. Elapsed time is 0.039144 seconds. Elapsed time is 0.039160 seconds. Elapsed time is 0.039177 seconds. Elapsed time is 0.039193 seconds. Elapsed time is 0.039209 seconds. Elapsed time is 0.039225 seconds. Elapsed time is 0.039241 seconds. Elapsed time is 0.039257 seconds. Elapsed time is 0.039274 seconds. Elapsed time is 0.039289 seconds. Elapsed time is 0.039305 seconds. Elapsed time is 0.039321 seconds. Elapsed time is 0.039337 seconds. Elapsed time is 0.039353 seconds. Elapsed time is 0.039369 seconds. Elapsed time is 0.039385 seconds. Elapsed time is 0.039401 seconds. Elapsed time is 0.039418 seconds. Elapsed time is 0.039434 seconds. Elapsed time is 0.039450 seconds. Elapsed time is 0.039466 seconds. Elapsed time is 0.039482 seconds. Elapsed time is 0.039499 seconds. Elapsed time is 0.039515 seconds. Elapsed time is 0.039531 seconds. Elapsed time is 0.039547 seconds. Elapsed time is 0.039564 seconds. Elapsed time is 0.039580 seconds. Elapsed time is 0.039596 seconds. Elapsed time is 0.039612 seconds. Elapsed time is 0.039627 seconds. Elapsed time is 0.039649 seconds. Elapsed time is 0.039681 seconds. Elapsed time is 0.039701 seconds. Elapsed time is 0.039717 seconds. Elapsed time is 0.039734 seconds. Elapsed time is 0.039750 seconds. Elapsed time is 0.039766 seconds. Elapsed time is 0.039783 seconds. Elapsed time is 0.039799 seconds. Elapsed time is 0.039815 seconds. Elapsed time is 0.039832 seconds. Elapsed time is 0.039848 seconds. Elapsed time is 0.039869 seconds. Elapsed time is 0.039888 seconds. Elapsed time is 0.039904 seconds. Elapsed time is 0.039920 seconds. Elapsed time is 0.039936 seconds. Elapsed time is 0.039953 seconds. Elapsed time is 0.039969 seconds. Elapsed time is 0.039985 seconds. Elapsed time is 0.040001 seconds. Elapsed time is 0.040017 seconds. Elapsed time is 0.040034 seconds. Elapsed time is 0.040050 seconds. Elapsed time is 0.040066 seconds. Elapsed time is 0.040082 seconds. Elapsed time is 0.040098 seconds. Elapsed time is 0.040115 seconds. Elapsed time is 0.040131 seconds. Elapsed time is 0.040147 seconds. Elapsed time is 0.040164 seconds. Elapsed time is 0.040180 seconds. Elapsed time is 0.040196 seconds. Elapsed time is 0.040212 seconds. Elapsed time is 0.040229 seconds. Elapsed time is 0.040245 seconds. Elapsed time is 0.040261 seconds. Elapsed time is 0.040277 seconds. Elapsed time is 0.040293 seconds. Elapsed time is 0.040309 seconds. Elapsed time is 0.040326 seconds. Elapsed time is 0.040343 seconds. Elapsed time is 0.040359 seconds. Elapsed time is 0.040375 seconds. Elapsed time is 0.040392 seconds. Elapsed time is 0.040408 seconds. Elapsed time is 0.040424 seconds. Elapsed time is 0.040440 seconds. Elapsed time is 0.040456 seconds. Elapsed time is 0.040472 seconds. Elapsed time is 0.040488 seconds. Elapsed time is 0.040504 seconds. Elapsed time is 0.040520 seconds. Elapsed time is 0.040536 seconds. Elapsed time is 0.040553 seconds. Elapsed time is 0.040569 seconds. Elapsed time is 0.040585 seconds. Elapsed time is 0.040600 seconds. Elapsed time is 0.040617 seconds. Elapsed time is 0.040632 seconds. Elapsed time is 0.040648 seconds. Elapsed time is 0.040665 seconds. Elapsed time is 0.040681 seconds. Elapsed time is 0.040697 seconds. Elapsed time is 0.040713 seconds. Elap...