Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
This comment is hidden because it contains spoiler information about the solution
Пожалуйста :)
Спасибо за подсказку для старичка!
Хех, привет :)
You should avoid using modules as much as you can.
sympy
is not available on codewars, also this task can be solved without use of any external modules.from sympy import symbols
from sympy.solvers.diophantine import diop_DN
ModuleNotFoundError: No module named 'sympy'
Give some advice please
The description is very confusing for anyone that is not native speaker,
please make it clear what I need to do to complete this kata.
[
[(0,0), (0,1), (0,2)],
[(1,0), (1,1), (1,2)],
[(2.0), (2.1), (2.2)]
]
Maybe I'm not understanding something.
For
C
is there some guaranee that the passed arrays are allocate big enough to hold each other?e.g. If strlen(s1) is 3 and strlen(s2) is 7, is it really OK to write 7 chars back to s1?
Seems a dangeraous thing to do, and description is unclear on this point.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
I having the same issue when the problem is tried with Rust, like I mentioned in my own post. Interestingly, when I tried the same test with Python, the exact same test case expects False.
Which language?, make sure you're not confusing the log of one test with the expected result of another.
I guess there is a misunderstanding. The return value with those two arrays should be false, like you pointed out. But the test in the Kata expects true, which is incorrect.
Loading more items...