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 for your help @trashy_incel. I will follow your sugestions next time. All the best
did you see that in the initial code ?
Do not allocate your own memory, use
dst
. Make sure to have a look at the initial code before you start programming on Codewars, it often contains useful information. Also askquestion
s instead of raisingissue
s.PS: Make sure to use markdown formatting to paste code so that it is easier to read ;-)
Here is my test results:
Test Results:
1q.!$#%U{ YYeO/!G]nh)|)jlh%: dR2V
basic_tests
should_pass_all_the_tests_provided
remove_char
should returndst
Completed in 0.3737ms
Completed in 0.3737ms
random_tests
should_pass_all_the_tests_provided
!=
{6\Pavw[:mO4=ZvMD^bvU;e'Rrs^4LJ1_$^A{S|3AIG["<)Czi:N%!UTpI0%u[6S\qtUEofc9.@8GF@-vn2tAgejwk]P
1+q$;'N4pGx'S6@wY|5gp!vfB[L*Q5h"5v*$wh5h-+p]A.Vx+h
xjW_-4*8b<}aNqlRjUePbpA>3Lt)T]iNE>.SO5h2Rct!UaQ@47ns(028]$A2_(]%GiUsxMUWrk3a\8olQJmoYJu8P:"#.}?2M;+zpbvaKC&B0rpZ]^2)TJVkIYyGu-q25l xaAj&G+37xnuW!{)HRtq,l6 v)2,r2"QtD9whD+};vpotly=?k,HU@HLFWV6jXg\y"TcC\a^QROF<Fa[/j!e+J/Q~eei?MC9OtysRXO$({GDB)|Oq~5|FALE(2-D_PZ-FU}u.Jv7G>XiEV97UK1xm]>rlH7JyqW=DR3P|*dDE=,jsB"Fn4?Yn[I\$
'zO[8t.HB(R'MxDV6xc\dty>cRg=SEDOu|dg+.*4]1^VR58h.xCsm:/Nltl@7.l*,Rq4]xE;'!oW6%@Bz
3ez?4d1}#IoS6?CG|9j6Ak#x#(6B#wUhoqyR$xUM#B}6bAZ[Eoy2ro2w&Twz']huX;yNmDN0@aoa0W
5*\37x-CwT"c>(
DsN-xe.Z8@1uPeWco1vMElZid-kIHs'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S)NhZvs]xd)JGRbkWN7FWWC1@|.OVP 8YK!4Cqo<Tud{HGd r{GKPgYpdg=<5:QnfR!*BmCvc(o*MT'@PNh"3@ox(.2>Hc*,3(6UuWIW_9a*jhH<5.;HN(>W3PrY4|eH#yzxQEM.^,9Ju^c(l{M9$lm5=
nOZTwZNrT 8~/t,E<! 'jxQ$y>q/YO})(S!bp4 '4,{=N8<O5C:+t<%1+5jX3s]cq=cbRfclb};w:g*Z"5L;;]GME
9]E(z&kJfO+S3)k(CS0zREHn]&3+L3ibm,kh2T1x$9I4C5=ceJ_8o($K+7SWG=85I${[UQVCzkf0&HrP()=--e8B:mfT&|~'uW\ '3@"{(0"M#OU,jb7PzVjh=@k:<r-pLw]KwYP(Y}(&S5p3IB+ *t=G]UcQbR}jJ[6?3fGidPo5baH)!S)+ECS$x4RYfPA/WN:;s$ Ap2!RZS+3\NS-RJA%!&RB5Yyp5Qt2rfDs6{zg$+AR_N"*o$+uWM(.Df V8qh)U*yl&uQ*}rZ]A\d.al"67*A[mA2$1w*f"$P%v"0uqgP3D6?# A68HXp7v!;(xElxF=}>=+1,r^=5t\8r}O+F%x]{yu"p8ni_)dzCp)P
gmuZJ/MH[UkNJYI=[7VG}3Qb.qP4B2{-(VW4!|lViJ&1%LK``")^2W>=IoQl~Kv$"O6!I#W0NZ>S$j1ai7@|n\76Li H5vL4F_5mcjz/B:_D"p&k&Get!}+Md+ry#<+F|>1
)-lHDLlF:s/@8r39m;cRDSIGoQjloyJu'7? ...The same for me.
what's the issue?
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution