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.
A person on discord told me not to do that again and to create a fork. For that reason Imma revert the changes
C sample test has hidden code
assert_triangulate
to excite code under test using 4 points, not 3 points and 3 distances. Please do not hide this test code and show how the user function is called.This comment is hidden because it contains spoiler information about the solution
Haskell translation
Approved.
likely to use a machine instruction underneath; prefer this over the current top solution
Can you stop the rounding in any way?
python new test framework is required. updated in this fork
done!
Python:
math.dist
should be removed from sample tests.pass
to initial code so it doesn't crash.There seems to be some issues regarding the expected values of the tests.
Actually, the solution for the equation is
$a=b=3$
, so there is a real solution for$a^7+b^7$
The solution for these equations are
$a=\frac {5 + 3 \sqrt 5} {2}$
and$b=\frac {5 - 3 \sqrt 5} {2}$
, or vice versa, and$a^7+b^7=235625$
, not$1576.6..$
Think of how would you solve on paper, and addapt to code. I agree that doesn't require much programming, it's just math
how do you solve the 3 equations? what method?
I disagree, mathematics is not very difficult, the level of high school is approximately, quite pulling on 6 kyu. But the kata itself is boring - just a mathematical problem from some school test, where 8 kyu programming plays only the role of a calculator.
Others may think differently.
Loading more items...