Cody

Solution 419641

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.000490 seconds. Elapsed time is 0.025703 seconds. Elapsed time is 0.025726 seconds. Elapsed time is 0.025744 seconds. Elapsed time is 0.025760 seconds. Elapsed time is 0.025776 seconds. Elapsed time is 0.025793 seconds. Elapsed time is 0.025809 seconds. Elapsed time is 0.025825 seconds. Elapsed time is 0.025841 seconds. Elapsed time is 0.025858 seconds. Elapsed time is 0.025874 seconds. Elapsed time is 0.025890 seconds. Elapsed time is 0.025906 seconds. Elapsed time is 0.025924 seconds. Elapsed time is 0.025954 seconds. Elapsed time is 0.025979 seconds. Elapsed time is 0.025997 seconds. Elapsed time is 0.026013 seconds. Elapsed time is 0.026030 seconds. Elapsed time is 0.026047 seconds. Elapsed time is 0.026063 seconds. Elapsed time is 0.026080 seconds. Elapsed time is 0.026096 seconds. Elapsed time is 0.026112 seconds. Elapsed time is 0.026129 seconds. Elapsed time is 0.026145 seconds. Elapsed time is 0.026161 seconds. Elapsed time is 0.026177 seconds. Elapsed time is 0.026193 seconds. Elapsed time is 0.026209 seconds. Elapsed time is 0.026229 seconds. Elapsed time is 0.026246 seconds. Elapsed time is 0.026263 seconds. Elapsed time is 0.026279 seconds. Elapsed time is 0.026295 seconds. Elapsed time is 0.026311 seconds. Elapsed time is 0.026327 seconds. Elapsed time is 0.026343 seconds. Elapsed time is 0.026359 seconds. Elapsed time is 0.026375 seconds. Elapsed time is 0.026391 seconds. Elapsed time is 0.026408 seconds. Elapsed time is 0.026424 seconds. Elapsed time is 0.026440 seconds. Elapsed time is 0.026456 seconds. Elapsed time is 0.026473 seconds. Elapsed time is 0.026489 seconds. Elapsed time is 0.026505 seconds. Elapsed time is 0.026522 seconds. Elapsed time is 0.026538 seconds. Elapsed time is 0.026554 seconds. Elapsed time is 0.026570 seconds. Elapsed time is 0.026586 seconds. Elapsed time is 0.026603 seconds. Elapsed time is 0.026619 seconds. Elapsed time is 0.026635 seconds. Elapsed time is 0.026651 seconds. Elapsed time is 0.026667 seconds. Elapsed time is 0.026683 seconds. Elapsed time is 0.026699 seconds. Elapsed time is 0.026715 seconds. Elapsed time is 0.026732 seconds. Elapsed time is 0.026748 seconds. Elapsed time is 0.026764 seconds. Elapsed time is 0.026780 seconds. Elapsed time is 0.026796 seconds. Elapsed time is 0.026812 seconds. Elapsed time is 0.026828 seconds. Elapsed time is 0.026845 seconds. Elapsed time is 0.026862 seconds. Elapsed time is 0.026878 seconds. Elapsed time is 0.026894 seconds. Elapsed time is 0.026910 seconds. Elapsed time is 0.026926 seconds. Elapsed time is 0.026943 seconds. Elapsed time is 0.026959 seconds. Elapsed time is 0.026975 seconds. Elapsed time is 0.026991 seconds. Elapsed time is 0.027007 seconds. Elapsed time is 0.027024 seconds. Elapsed time is 0.027039 seconds. Elapsed time is 0.027067 seconds. Elapsed time is 0.027093 seconds. Elapsed time is 0.027111 seconds. Elapsed time is 0.027127 seconds. Elapsed time is 0.027144 seconds. Elapsed time is 0.027160 seconds. Elapsed time is 0.027176 seconds. Elapsed time is 0.027193 seconds. Elapsed time is 0.027209 seconds. Elapsed time is 0.027226 seconds. Elapsed time is 0.027242 seconds. Elapsed time is 0.027259 seconds. Elapsed time is 0.027275 seconds. Elapsed time is 0.027291 seconds. Elapsed time is 0.027308 seconds. Elapsed time is 0.027324 seconds. Elapsed time is 0.027356 seconds. Elapsed time is 0.027374 seconds. Elapsed time is 0.027390 seconds. Elapsed time is 0.027407 seconds. Elapsed time is 0.027423 seconds. Elapsed time is 0.027439 seconds. Elapsed time is 0.027455 seconds. Elapsed time is 0.027471 seconds. Elapsed time is 0.027487 seconds. Elapsed time is 0.027503 seconds. Elapsed time is 0.027520 seconds. Elapsed time is 0.027536 seconds. Elapsed time is 0.027552 seconds. Elapsed time is 0.027568 seconds. Elapsed time is 0.027584 seconds. Elapsed time is 0.027600 seconds. Elapsed time is 0.027616 seconds. Elapsed time is 0.027632 seconds. Elapsed time is 0.027648 seconds. Elapsed time is 0.027664 seconds. Elapsed time is 0.027680 seconds. Elapsed time is 0.027697 seconds. Elapsed time is 0.027716 seconds. Elapsed time is 0.027735 seconds. Elapsed time is 0.027751 seconds. Elapsed time is 0.027767 seconds. Elapsed time is 0.027783 seconds. Elapsed time is 0.027799 seconds. Elapsed time is 0.027814 seconds. Elapsed time is 0.027830 seconds. Elapsed time is 0.027847 seconds. Elapsed time is 0.027863 seconds. Elapsed time is 0.027900 seconds. Elapsed time is 0.027926 seconds. Elapsed time is 0.027944 seconds. Elapsed time is 0.027960 seconds. Elapsed time is 0.027977 seconds. Elapsed time is 0.027993 seconds. Elapsed time is 0.028009 seconds. Elapsed time is 0.028026 seconds. Elapsed time is 0.028042 seconds. Elapsed time is 0.028058 seconds. Elapsed time is 0.028074 seconds. Elapsed time is 0.028090 seconds. Elapsed time is 0.028106 seconds. Elapsed time is 0.028122 seconds. Elapsed time is 0.028138 seconds. Elapsed time is 0.028154 seconds. Elapsed time is 0.028175 seconds. Elapsed time is 0.028205 seconds. Elapsed time is 0.028226 seconds. Elapsed time is 0.028243 seconds. Elapsed time is 0.028259 seconds. Elapsed time is 0.028275 seconds. Elapsed time is 0.028292 seconds. Elapsed time is 0.028308 seconds. Elapsed time is 0.028323 seconds. Elapsed time is 0.028339 seconds. Elapsed time is 0.028355 seconds. Elapsed time is 0.028371 seconds. Elapsed time is 0.028386 seconds. Elapsed time is 0.028403 seconds. Elapsed time is 0.028419 seconds. Elapsed time is 0.028435 seconds. Elapsed time is 0.028451 seconds. Elapsed time is 0.028467 seconds. Elapsed time is 0.028483 seconds. Elapsed time is 0.028499 seconds. Elapsed time is 0.028515 seconds. Elapsed time is 0.028531 seconds. Elapsed time is 0.028547 seconds. Elapsed time is 0.028563 seconds. Elapsed time is 0.028579 seconds. Elapsed time is 0.028595 seconds. Elapsed time is 0.028611 seconds. Elapsed time is 0.028627 seconds. Elapsed time is 0.028644 seconds. Elapsed time is 0.028660 seconds. Elapsed time is 0.028676 seconds. Elapsed time is 0.028692 seconds. Elapsed time is 0.028709 seconds. Elapsed time is 0.028725 seconds. Elapsed time is 0.028742 seconds. Elapsed time is 0.028758 seconds. Elapsed time is 0.028774 seconds. Elapsed time is 0.028790 seconds. Elapsed time is 0.028806 seconds. Elapsed time is 0.028822 seconds. Elapsed time is 0.028838 seconds. Elapsed time is 0.028854 seconds. Elapsed time is 0.028870 seconds. Elapsed time is 0.028886 seconds. Elapsed time is 0.028902 seconds. Elapsed time is 0.028919 seconds. Elapsed time is 0.028935 seconds. Elapsed time is 0.028951 seconds. Elapsed time is 0.028967 seconds. Elapsed time is 0.028983 seconds. Elapsed time is 0.028999 seconds. Elapsed time is 0.029016 seconds. Elapsed time is 0.029032 seconds. Elapsed time is 0.029048 seconds. Elapsed time is 0.029064 seconds. Elapsed time is 0.029081 seconds. Elapsed time is 0.029097 seconds. Elapsed time is 0.029113 seconds. Elapsed time is 0.029130 seconds. Elapsed time is 0.029146 seconds. Elapsed time is 0.029162 seconds. Elapsed time is 0.029179 seconds. Elapsed time is 0.029195 seconds. Elapsed time is 0.029211 seconds. Elapsed time is 0.029227 seconds. Elapsed time is 0.029243 seconds. Elapsed time is 0.029259 seconds. Elapsed time is 0.029275 seconds. Elapsed time is 0.029293 seconds. Elapsed time is 0.029324 seconds. Elapsed time is 0.029345 seconds. Elapsed time is 0.029362 seconds. Elapsed time is 0.029378 seconds. Elapsed time is 0.029394 seconds. Elapsed time is 0.029411 seconds. Elapsed time is 0.029427 seconds. Elapsed time is 0.029443 seconds. Elapsed time is 0.029459 seconds. Elapsed time is 0.029475 seconds. Elapsed time is 0.029491 seconds. Elapsed time is 0.029507 seconds. Elapsed time is 0.029524 seconds. Elapsed time is 0.029539 seconds. Elapsed time is 0.029556 seconds. Elapsed time is 0.029572 seconds. Elapsed time is 0.029588 seconds. Elapsed time is 0.029604 seconds. Elapsed time is 0.029620 seconds. Elapsed time is 0.029637 seconds. Elapsed time is 0.029653 seconds. Elapsed time is 0.029669 seconds. Elapsed time is 0.029685 seconds. Elapsed time is 0.029701 seconds. Elapsed time is 0.029717 seconds. Elapsed time is 0.029733 seconds. Elapsed time is 0.029757 seconds. Elapsed time is 0.029775 seconds. Elapsed time is 0.029792 seconds. Elapsed time is 0.029808 seconds. Elapsed time is 0.029825 seconds. Elapsed time is 0.029841 seconds. Elapsed time is 0.029857 seconds. Elapsed time is 0.029873 seconds. Elapsed time is 0.029890 seconds. Elapsed time is 0.029907 seconds. Elapsed time is 0.029924 seconds. Elapsed time is 0.029940 seconds. Elapsed time is 0.029956 seconds. Elapsed time is 0.029972 seconds. Elapsed time is 0.029989 seconds. Elapsed time is 0.030005 seconds. Elapsed time is 0.030021 seconds. Elapsed time is 0.030038 seconds. Elapsed time is 0.030054 seconds. Elapsed time is 0.030070 seconds. Elapsed time is 0.030086 seconds. Elapsed time is 0.030102 seconds. Elapsed time is 0.030118 seconds. Elapsed time is 0.030135 seconds. Elapsed time is 0.030151 seconds. Elapsed time is 0.030167 seconds. Elapsed time is 0.030183 seconds. Elapsed time is 0.030200 seconds. Elapsed time is 0.030216 seconds. Elapsed time is 0.030233 seconds. Elapsed time is 0.030249 seconds. Elapsed time is 0.030265 seconds. Elapsed time is 0.030281 seconds. Elapsed time is 0.030298 seconds. Elapsed time is 0.030314 seconds. Elapsed time is 0.030330 seconds. Elapsed time is 0.030347 seconds. Elapsed time is 0.030363 seconds. Elapsed time is 0.030380 seconds. Elapsed time is 0.030396 seconds. Elapsed time is 0.030414 seconds. Elapsed time is 0.030444 seconds. Elapsed time is 0.030465 seconds. Elapsed time is 0.030483 seconds. Elapsed time is 0.030499 seconds. Elapsed time is 0.030515 seconds. Elapsed time is 0.030531 seconds. Elapsed time is 0.030547 seconds. Elapsed time is 0.030563 seconds. Elapsed time is 0.030579 seconds. Elapsed time is 0.030595 seconds. Elapsed time is 0.030611 seconds. Elapsed time is 0.030628 seconds. Elap...

Suggested Problems