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.
Красавчик!
Hello, My Code passed Every test but one the extra test,even though i tested it in visual studio and it works fine, i used c#,here is the issue:
Extra Tests
Test Failed
String lengths are both 46. Strings differ at index 21.
Expected: "wha1t sh2all 3we d4o w5ith a6 dru7nken s8ailor"
But was: "wha1t sh2all 3we d4o a6 w5ith dru7nken s8ailor"
-how can i fix it?
I like my pasta with hard shells and extra cheese, you know, for that squishy chewy gooey effect. It should also be a little wriggly, to really enhance the textures... Yum!
But that's exactly it ;-)
%[]
only matches a non-empty sequence of characters. As soon as the match fails,sscanf()
returns, without parsing the integer.you are iterating on an list with a foreach loop while modifying it at the same time, this is very rarely a good thing to do, as it results in code that is hard to understand and a high probability of bugs. in some scenarios, you effectively delete some elements before they have been looped on, e.g. consider:
["two2", "one1"]
--> after the first iteration of your loop, this will be converted to["two2", "two2"]
."one1"
never gets iterated on.This comment is hidden because it contains spoiler information about the solution
strncpy()
, it is a terrible function. It does not nul-terminatedest
if there is no nul byte among the firstn
bytes ofsrc
. As a resultordered
is not nul-terminated in your code"1 4 3 2 5"
I dont know what I'm Doing HAHAHAH
Even with everything commented out, I get the following error when I press the Test button.
Approved
Groovy Translation
Not a kata suggestion ! ^^
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
don't try to do it in a fancy way you can do it with just basics
actually if you see my code I may look like dumb people
Loading more items...