Haskell tests appear to be broken. My solution failed on the randomized tests:
Falsifiable (after 7 tests and 4 shrinks):
"aa\71319a"
expected: "a2a"
but got: "aa\71319a"
Is \71319 supposed to be a character?
Okay so I tried your code and it seems that for the test case (-y+11)(-55y-6) your answer is y^2-5y-66, which is wrong.
The answer should be 55y^2-599y-66.
I think maybe it's caused by the "-y" in the first bracket which doesn't have a number coefficient?
By the way my test case doesn't include (y-11)(y+6).
Please check your code again and let me know if there are any further problems.
i have the problem with one test case on python
i have this answer y^2-5y-66 but it should be 55y^2-599 y-66
i think it's incorrect case because
My program in case (𝑦−11)(55𝑦+6) got 55y^2-599 y-66
and in case (y-11)(y+6) got y^2-5y-66 and it is correct
Plese check this test case
I've complete all test except this one
consider displaying input value instead of "One random test" for each random test.
Okay, I'll handle this special case. Okay, I'll handle this other special case. Okay...
Removal of multiples of 0 was not mentioned in the description.
Example and sample tests like below should be added
Description also does not mention that
m
andp
will never be0
, alson
andq
can be0
Description should be language-agnostic (removal of function names)
This is actually an issue!
Haskell tests appear to be broken. My solution failed on the randomized tests:
Falsifiable (after 7 tests and 4 shrinks):
"aa\71319a"
expected: "a2a"
but got: "aa\71319a"
Is \71319 supposed to be a character?
There's a pattern indeed but I can't figure it out
Fixed!
Removal of multiples of 0 was not mentioned in the tasks.
ie something like 6x^2+0x-1. should become 6x^2-1.
Thanks
No, it's not available on codewars:
https://docs.codewars.com/languages/python
This comment is hidden because it contains spoiler information about the solution
.
Thanks, really my bug , found an error - I missed one index
Okay so I tried your code and it seems that for the test case (-y+11)(-55y-6) your answer is y^2-5y-66, which is wrong.
The answer should be 55y^2-599y-66.
I think maybe it's caused by the "-y" in the first bracket which doesn't have a number coefficient?
By the way my test case doesn't include (y-11)(y+6).
Please check your code again and let me know if there are any further problems.
i have the problem with one test case on python
i have this answer y^2-5y-66 but it should be 55y^2-599 y-66
i think it's incorrect case because
My program in case (𝑦−11)(55𝑦+6) got 55y^2-599 y-66
and in case (y-11)(y+6) got y^2-5y-66 and it is correct
Plese check this test case
I've complete all test except this one
Loading more items...