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
It seems it is a question rather than an issue.
Did you read carefully this part of the description:
*More*: e and f must result only from sums (or differences) of products between on the one hand (a, b) and on the other (c, d).
If you read the numerous comments below you could have seen that somebody answers at a question similar to yours:
"[5600,19200] doesn't fit the bill if a=b=c=d=100."
I know that the description is not completely clear but it cannot be so unless I give the solution.
Sorry for that!
Note: this result appears in all translations, not only in Go.
Quote/white-space/Quantity/white-space/Price/white-space/Status
PS: how can it be possible that your solution is exactly the same as mine?
Typo corrected.Thanks.
For which values of n do you got that? If you get
-9.223372036854775e+12
for a given n, your code is clearly false...I tried a few solutions (including Best Pratices ones) and saw no problem. You can see at the top of the page that 46 (out of a total of 1973) guys passed the Go kata. If there had been problems don't you think that somebody would have already seen them?
...............
Since you seem new to CW here are some general guidelines about posts:
Issue: problem in the kata itself (description, wrong tests, wrong internal solution...)
Suggestions: well, that part is clear
Question anything else that is related to you having a problem solving a kata
For information, when you post issues:
provide ALL the useful information:
check, DOUBLE check that this IS an issue, meaning that the problem is in the kata itself and not in your code. If it's in your code, post rather a question
If you pass this step, you still have to prove/explain what the issue is (and if you can provide fixes, it's even better)