Cody

Problem 43571. How many hours are there in a day in Italy?

Solution 3823103

Submitted on 24 Nov 2020
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   Fail
y = 2016; m = 1; d = 1; y_correct = 24; assert(isequal(your_fcn_name(y,m,d),y_correct))

Output argument "HH" (and maybe others) not assigned during call to "your_fcn_name". Error in Test1 (line 5) assert(isequal(your_fcn_name(y,m,d),y_correct))

2   Fail
y = 2016; m = 12; d = 31; y_correct = 24; assert(isequal(your_fcn_name(y,m,d),y_correct))

Output argument "HH" (and maybe others) not assigned during call to "your_fcn_name". Error in Test2 (line 5) assert(isequal(your_fcn_name(y,m,d),y_correct))

3   Fail
y = 1965; m = 12; d = 7; y_correct = 24; assert(isequal(your_fcn_name(y,m,d),y_correct))

Output argument "HH" (and maybe others) not assigned during call to "your_fcn_name". Error in Test3 (line 5) assert(isequal(your_fcn_name(y,m,d),y_correct))

4   Fail
y = 2016; m = 10; d = 30; y_correct = 25; assert(isequal(your_fcn_name(y,m,d),y_correct))

Output argument "HH" (and maybe others) not assigned during call to "your_fcn_name". Error in Test4 (line 5) assert(isequal(your_fcn_name(y,m,d),y_correct))

5   Fail
y = 2016; m = 3; d = 27; y_correct = 23; assert(isequal(your_fcn_name(y,m,d),y_correct))

Output argument "HH" (and maybe others) not assigned during call to "your_fcn_name". Error in Test5 (line 5) assert(isequal(your_fcn_name(y,m,d),y_correct))