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.
Nice solution
Nice feedback!
As a beginner, I always write a numbers of lines, test the result by "print" and only if all works - do "pythonization" :) trying to get a single line code
How is the comparison with 1f different to comparing with 1. Thanks
Yeah, I just do it to get exp for kyu rank 3 years ago, so I speed run the code lol
You literally did the same thing as the top solution though lol
Well because this is an integer generation problem, you need to know a finite set of automorphic number first before you can use it as test cases. I re-generate the number of base 10 and put it in a look up table for constant checking time
This is a research project out of Automorphic Numbers from 0 to 200, you can have a glance
https://oeis.org/A003226/b003226.txt
Bruh what is even that?
=)) okay cheating with style =))
Uhh Good Job try man, event its hard to read ur code.
lmao =)) cheating in a clean way =))
=)) You should be a data scientist now =))
Nice commented code, as a team leader, I will prefer this kind of code better than the one liner code above. Eventhough the algorithm is not so good, but it's clear. Those code above is only for solo project, or scripting due to thier quickness. Please keep your habbit, and good luck learning.
Ok ! I got it ! For the future lost guys after me :
You cut only once ! I thought it was 1 cut, then 1 cut, then 1 cut... In fact, you have the same big cube, and the cut results in many small cubes, in only one operation ; if cuts=1, then you cut in the middle of the cube, in three directions. If cuts=4, then it's like you cut it 12 times (4*3) at the same time.
Good luck ! :)
I read it several times, and I still don't understand...
Don't get the examples either... :D
Every math operation is a kind of bit manipulation.
So if you are talking about the hexadecimal representation - it has nothing to do with aformentioned manipulation.
Loading more items...