@JohanWiltink, I would request you to make the error messages more detailed, as they might (or already has) confuse many people. Just a humble request :)
Yeah, I get the point that for a computer the divisibility test is an unneccessary effort. However, as per the description I just wanted to inform that the divisibility test was meant to be used.
And the test in description was actually developed for "humans" to quickly evaluate divisibility, something irrelevant for computers.
[EDIT] to be serious: what's the added value of doing multiple operations and then dividing the number by 3 (using the computer) vs. simply dividing the number by 3 (using the computer) right away?
For this, it would be possible to implement the girlfriend's task .. For example, 2.4.5.7.8
Getting similar issues...
Damn I was like what?? This is CW dude not facebook!!!
Why are you using openCV???? I am pretty sure that you don't need it in this kata.
I really love your compact solution. I would really appreciate it if you could explain it to me!! Thanks
Thank you for your suggestion.
I'm not taking it.
@JohanWiltink, I would request you to make the error messages more detailed, as they might (or already has) confuse many people. Just a humble request :)
Yeah, I get the point that for a computer the divisibility test is an unneccessary effort. However, as per the description I just wanted to inform that the divisibility test was meant to be used.
And the test in description was actually developed for "humans" to quickly evaluate divisibility, something irrelevant for computers.
Oh, no!
[EDIT] to be serious: what's the added value of doing multiple operations and then dividing the number by 3 (using the computer) vs. simply dividing the number by 3 (using the computer) right away?
This comment is hidden because it contains spoiler information about the solution
But anter69, we had to implement the divisibilty test rather than the remainder test.
This comment is hidden because it contains spoiler information about the solution
Incredible, you just made me realize that I have a long way to go...