C++ 17 should be enabled.
Spent so much time one a wrong approach! untill realised it was much easier
Haskell : https://www.codewars.com/kumite/5b90b11f7b579dd8de000110?sel=5b90b11f7b579dd8de000110
C translation here!!!
I tried to solve it but it seems it's an error of phpunit itself. I've temporary deleted php tests for this kata. Sorry for the inconvenience
It doesn't fail to me. May exceed execution time?
So, I can't figure out what's going wrong with my tests. When I run the code in my own shell, it works; when I run the tests, the log says the exact same thing as I'm supposed to get. Despite this, the tests still "failed". (Python)
PHP tests seem to be broken, I return nothing and they all pass
Solved
I've spent 3 hours trying to speed up my brute force method. Then i've realized what i should to do;p
I'm trying to solve it, but I'm getting the message of memory corrupted (fast)
C++ version's actual tests is the same as the sample tests. Did someone do that accidentally at some point in the past?
Fixed
C# seems to have a problem with the sample unit tests (the full ones run fine). I get the following error:
fixture.cs(8,17): error CS0708: `throw_coin.test01()': cannot declare instance members in a static class
There's an issue with PHP. Where's?
C++ 17 should be enabled.
Spent so much time one a wrong approach! untill realised it was much easier
Haskell : https://www.codewars.com/kumite/5b90b11f7b579dd8de000110?sel=5b90b11f7b579dd8de000110
C translation here!!!
I tried to solve it but it seems it's an error of phpunit itself. I've temporary deleted php tests for this kata. Sorry for the inconvenience
It doesn't fail to me. May exceed execution time?
So, I can't figure out what's going wrong with my tests. When I run the code in my own shell, it works; when I run the tests, the log says the exact same thing as I'm supposed to get. Despite this, the tests still "failed". (Python)
PHP tests seem to be broken, I return nothing and they all pass
Solved
I've spent 3 hours trying to speed up my brute force method. Then i've realized what i should to do;p
I'm trying to solve it, but I'm getting the message of memory corrupted (fast)
C++ version's actual tests is the same as the sample tests. Did someone do that accidentally at some point in the past?
Fixed
C# seems to have a problem with the sample unit tests (the full ones run fine). I get the following error:
fixture.cs(8,17): error CS0708: `throw_coin.test01()': cannot declare instance members in a static class
There's an issue with PHP. Where's?
Loading more items...