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.
'looks like u solved it'
'sum |= 1<<e'
or
'sum ^= 1<<e'
will help, then check
'sum == 1022'
its slower but more reliable
12. 12.12.12
I found it was because blank.For eaxmple :12.12 .12.12 is invalid IP.
provided str may not totally constructed by numbers (maybe: ' abc.sdf.sdf.sdf')
This comment is hidden because it contains spoiler information about the solution
Thanks!I met this problem and thought it is interesting.Next time I will create my own kata!
Duplicate of:
https://www.codewars.com/kata/58ba6fece3614ba7c200017f
https://www.codewars.com/kata/is-number-a-palindrome
Hi bro! I think u forgot ont thing.
The sum equals 45 doesn't mean it is a sudoku!
I thought of this idea and then denied it.
Becasue 6+6+6 = 5+6+7.
I can put all 5 in a line but it's not correct!
I had never thought of function sort!Clever boy!