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.
Your statement is just as senseless as your exercise, which is unsurprising. Where are the arguments? Here are mine: you found the formula, you rewrote the formula, done. You don't even need to know syntax for this; for the sake of experiment, I solved this kata in C++ and C# (had issues with C for understandable reasons) despite knowing next to nothing about these languages. Why? Because all that's needed for this kata is the mathematical formula and the syntax of the ternary operator.
this is the dumbest thing i've heard all day, you clearly don't know what programming is all about.
Just another pointless math kata, has nothing to do with programming
I think this is more of a Math kata than a programming kata, especially since iterative solutions are blocked out.
it's better if you add the wiki page of
Centered pentagonal number
mmm i love the smell of floating point error in the morning
Edit: no one will notice i just realized that this is my 1200th kata an hour after
writing this comment lol
FIRSTLY, I believe that you should not say "AROUND" the center dot," but "all dots" together with the center dot
SECONDLY, You request to output all columns + res, but in fact the id column is not needed.
C translation tests for values outside range of input type in intermediate steps of calculation.
This makes this 7 Kyu kata needlessly complicated. Please restrict these values.
Approved!
SQL Translation
cool
but next time, when providing code snippets, use the spoiler flag, so the kata is not spoiled of other users
i've marked both your comments with the spoiler flag
This comment is hidden because it contains spoiler information about the solution
your solution isn't wrong per se, the return type of big numbers is in scientific notation
this can help you
This comment is hidden because it contains spoiler information about the solution
Thanks!
Loading more items...