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.
there is overflow of unsigned long long in c++ for medium and large test ..
should any modolo arithmetics be used ??
The description's pretty rough -- it took a lot of staring at the examples to figure out that the root operation is to simultaneously replace every sequence of
x1x
bits with101
, and that this operation can put a bit to the right of the first bit.This comment is hidden because it contains spoiler information about the solution
Order of coordinates in output lists is not specified.
str
,Tuple[str, List[List[int]]]
,List[List[int]]
.'no trajectory?!'
, while in sample tests its'No trajectory!'
...The description could be improved.
Give specs first, then examples. Examples should clarify specs, not introduce them.
Also, don't contradict yourself: "The number 1 has one important function"; then you give two functions ?!? Be consistent!
Duplicate.
You put the real solution in the initial solution.
No random tests
Not enough fixed tests