That's all in your head. The tests are fine.
This comment is hidden because it contains spoiler information about the solution
Ok. Thanks for the answer.
No, they don't. If they did, the kata wouldn't be here, or there's no way 14+ thousand people would be able to solve it. Carefully check your code again.
Sample Tests "Should work for under 7 days:" and Random tests probably contain error for JS.
My first attempt on C++ translation please review and approve !
Approved by dfhwze
COBOL translation updated (author inactive).
The question sentence is wrong. "Write a code that gives out the total amount for different days(d)." It asks total money for different days. But code check minimum price on given day.
Ty byte I get it now. Took a min lol but I got it. thanks again.
If d>2 is true, it technically becomes 1, which means that it is d*40-1*20 if you see what I mean. And the opposite if (d>2) is false, which is 0. I hope this makes sense