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.
Thanks!
Nice kata!
In C, why the returning parameter is a double pointer ?
Great Kata!
Sort of yes, but in a smart way!
This comment is hidden because it contains spoiler information about the solution
Nice Kata!
Nice Kata!
In C++, the "TEST" case does not work. But, the "ATTEMPT" case works!
Nice Kata! it worths more than the 6 kyu rank!
In C++, there are several spaces between words, leading and trailing spaces!
This sample test contains several spaces (dots are spaces):
jmxvtvmif..dqptm.csmhexf.q.jdvziiozxjm.sf.rzkdekb.tm.qw..qm.llkxwbmfjnulilkxkk.qdoceeu.hkpi.wopsmcuzlgkynrn.xisw.qw.lzazgfrdxhrbfdxmn.cbmtzkyr.z.z.oybgfctevwr.bzyke.qjgkauanw.rnvfmshnybnu.evzdljee.rofwajjtewgayoofxnck..tqzsba.bzkmf.ikdxlaeh.oz.megshgl...y
This sample test contains several spaces:
"jmxvtvmif dqptm csmhexf q jdvziiozxjm sf rzkdekb tm qw qm llkxwbmfjnulilkxkk qdoceeu hkpi wopsmcuzlgkynrn xisw qw lzazgfrdxhrbfdxmn cbmtzkyr z z oybgfctevwr bzyke qjgkauanw rnvfmshnybnu evzdljee rofwajjtewgayoofxnck tqzsba bzkmf ikdxlaeh oz megshgl y"
(in C++) in the description : Words are made up of lowercase letters and are separated by a single space.
I think, there is a something wrong in C++.
//Expected: equal to "jxvvtmmif dtqpm cxsmhef q jzzxvojiidm sf rzkkedb tm qw qm lxxwunmlllkkkjifbk qoeedcu hpki wzyusrponmlkgcn xsiw qw lzzxxrrmhgffddban czytmkbr z z oywvtgfecbr bzyke qunkjgaaw ryvsnnnmhfbu ezvljede ryxwwtooonjjgffecaak tzsqba bzmkf ixlkedah oz mshggel y"
//Actual: "jxvvtmmif dtqpm cxsmhef q jzzxvojiidm sf rzkkedb tm qw qm lxxwunmlllkkkjifbk qoeedcu hpki wzyusrponmlkgcn xsiw qw lzzxxrrmhgffddban czytmkbr z z oywvtgfecbr bzyke qunkjgaaw ryvsnnnmhfbu ezvljede ryxwwtooonjjgffecaak tzsqba bzmkf ixlkedah oz mshggel y"
In C : do_test("354", "4th");
Loading more items...