Next time you open an issue, please, mention the language, and give some proof of what's wrong.
No, all the tests are correct. Not an issue.
Many TEST CASES are INCORRECT. Please Correct Them.
An outstanding kata indeed! It successfully forced me to review my number theory.
However, the fixed tests after I click the attempt button do not give me what the tests are. This is painful for debugging; I must repeatedly click the button until, hopefully, the same problem pops up somewhere in the random tests and give me an idea about what in the world I am dealing with.
It would be of great valuew to those who will come across this kata later if you could also, as in the random tests, also give us the input list for the fixed tests. (As I have noticed, the fixed tests are not all in the tests visible by users, as my solution passes the test cases.)
I was working with python at the time; I am not sure if this is also true with the other languages.
Excellent kata overall! Thanks for it!
C solution setup does not compile.
Include following import:
I can see only one test in Python with that input and it expects 4.
Make sure you're not mutating the input list just in case. There is a discussion from 9 months ago too below, but it seems it wasn't finished.
This comment is hidden because it contains spoiler information about the solution
Maybe expected and actual values are flipped for python?
The test is: ([2,2,1,2], 4) (input, expected)
You can't delete your post once somebody replies to it, don't worry about it.
Now I'm getting another issue
[2,2,1,2] expected 6 but got 4
sorry I figured it out but couldn't delete the post
But 6 ^ 21 isn't just 6, it ends with 6. 7 ^ 6 isn't the same as 7 ^ 66.
Please read the posts below, it's been discussed many times already.
You are wrong. If the base (12 in this case) is even, according to the logic of multiplying, the result must be even too.