6 kyu
Simple Fun #23: Square Digits Sequence
872 of 1,907myjinxin2015
Loading description...
Puzzles
View
This comment has been reported as {{ abuseKindText }}.
Show
This comment has been hidden. You can view it now .
This comment can not be viewed.
- |
- Reply
- Edit
- View Solution
- Expand 1 Reply Expand {{ comments?.length }} replies
- Collapse
- Spoiler
- Remove
- Remove comment & replies
- Report
{{ fetchSolutionsError }}
-
-
Your rendered github-flavored markdown will appear here.
-
Label this discussion...
-
No Label
Keep the comment unlabeled if none of the below applies.
-
Issue
Use the issue label when reporting problems with the kata.
Be sure to explain the problem clearly and include the steps to reproduce. -
Suggestion
Use the suggestion label if you have feedback on how this kata can be improved.
-
Question
Use the question label if you have questions and/or need help solving the kata.
Don't forget to mention the language you're using, and mark as having spoiler if you include your solution.
-
No Label
- Cancel
Commenting is not allowed on this discussion
You cannot view this solution
There is no solution to show
Please sign in or sign up to leave a comment.
Nice and funny kata, well done, congratulations for the challenge.
: "103 -> 10 -> 1 -> 1, 4 elements altogether." 4 elements?? 10,1,1 = 3 elements
проходит все тесты кроме 6, причем в отладке работает так как надо, для 6 протсо будет бесконечно
Scala translation
It is said in the description that there are these constraints: 1 ≤ a0 ≤ 650 but random tests doesn't take it into account. So, do not specify this condition in your solution if you want to pass all tests
Which language?
TS
Fixed by latest fork
Python update with new test framework: https://www.codewars.com/kumite/647f5315d6ab4a0034ecebe4?sel=647f5315d6ab4a0034ecebe4
👍
it is not 6 kyu...is it?
Rust translation has been provided.Please review and approve.
Right now it works for 1.25 and for 1.33 as well, however for 1.15.1 failed with: unresolved name
square_digits_sequence
I have no idea what's wrong, couldn't solve that.
'alr approved some time ago'
This comment has been hidden.
'alr approved some time ago'
This comment has been hidden.
Please wait.. the F# translator will check it.. Thanks for your feedback ;-)
Thanks for pointing out this issue. Added necessary import declarations for random tests.
Hi
Sorry to be a pain but doesn't seem to have been fixed - issue still occurs :(
Fixed it with other fork.
Excellent, all working now, thanks :)
This comment has been hidden.
Approved. Thanks ;-)
Hi. Issue. Please check and fix it. Thanks. ;-)
This comment has been hidden.
Done. ;-)
This comment has been hidden.
;-)
Very similar to all the other happy numbers katas: https://www.codewars.com/kata/search/my-languages?q=happy+numbers
This comment has been hidden.
Approved both ;-)
Awaiting moderator approval, thanks ;-)
Done;-)...
thanks for your hard work, one hand write c# code, another hand approve my little kata, and crying or laughing sometimes ;-)
Yes, most work is laughing all the time:-))! Just one hand solved one of your chess katas;-)...
Little error in your description;-):
Ah, <sup> missed ;-)