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.
Rust:
decode
is missing in initial code;encode
declared aspub
?todo!()
orunimplemented!()
should be added to initial code so it compiles and panics instead of crashing.My solution returns 0 when an answer cannot be found, and it fails with following errors:
It seems that tests have a bug: they consider 71 a valid answer because
241 = 170 + 071
, and they think that 1 is a correct answer because11 = 10 + 01
.This kata makes no sense to me, is it a puzzle? Add the
puzzle
tag if it is.Hi,
Currently, the only way to get an idea about what the task actually is is to enter the trainer. So the code snippet of the sample tests should be given in the description (at least the
its
method and one test). For now, the task is totally obscure, and doesn't actually make sense, from the description alone.Cheers