The testsuite input does not following the input format string.
Having a hard time with the test suite regarding the number of hours in one year. I think it should be 8 765.81277h/y
The test suite doesnt follow. it should be double digit days and month, not single digits according to his descrption
having problems with the test suite especially test no 3
having problems with test no 3 of the test suite,why?
It's a fun problem
the test suits are all passed , but the mathworks net tells its wrong.
and the size is '-1'.
i use the datenum function.
I use format bank to get 2 decimal output, anyone has a better idea?
using existing functions makes this trick easy
with an existing funcion it is solveable
function elapsed= elapsed_time(d1,d2)
it told me that solution is wrong?
This test program is wrong.To judge a leap year, you need to calculate if the following condition is satisfied mod(year,4)==0 & mod(year,100)~=0 & mod(year,400)==0. However, this team only count those years that mod(year,4)==0
why this function returns an error it works perfectly on my pc
the test suits are all passed , but the mathworks net tells its wrong. and the size is '-1'. i use the datenum function.
The value of d1 in Test Suite #3 is not to spec (one digit for the month).
Love the little "if" in the end ! :D
doesn't work any longer
Extract leading non-zero digit
Replicate elements in vectors
The Answer to Life, the Universe, and Everything
Relative ratio of "1" in binary number
Binary code (array)
Alphabetize by last name
Who Has the Most Change?
The Goldbach Conjecture, Part 2
Find the treasures in MATLAB Central and discover how the community can help you!
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office