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.
problem disappear, so many thanks!! ;)
The tests say that the expected and the actual results differ. The following is the exact output from the log. I'm not too sure what's going here. I have tried a different terminating characters thinking that that was the cause without much success.
"Expected result=
4897 NkTrC Hq fT67 GjV Pq aP OqTh gOcE CoPcTi aO
Actual result=
4897 NkTrC Hq fT67 GjV Pq aP OqTh gOcE CoPcTi aO"
Has anyone experienced this before/know the fix?
You are right; random tests fixed in C. Sorry:-(
The instructions are ambigious, and/or the random tests for C are incorrect, as they are testing undefined behaviour by including lowercase text. "choose a text in capital letters including or not digits and non alphabetic characters" could be interpreted as meaning that all input letters will be uppercase, or that we only want to apply the five steps to letters when they are uppercase, but neither is quite true... In order to satisfy the random tests for C, you only want to do the circular shift on letters if they are uppercase, and lowercase letters should not be shifted, but you still have to do everything else to them. The C++ version does not have this problem.
It should be stated that the circular shift is only to be applied to uppercase letters.
I know the problem... but, as for now, not for that kata:-(
I just corrected with a pragma addition. It should work now.
I reported it as a bug at CW a few days ago:
https://github.com/Codewars/codewars.com/issues/700 bug #700.
but nothing done until now. It will be good if you add your comment!
Hi there, i can't complete this kata.
I press button ATTEMPT, all test was passed but kata still not complete... :(
btw stderr:
/tmp/haskell116116-18-1ajp1ii.zofcoko6r/Codewars/Kata/PlayPass/Test.hs:20:9: Warning:
Tab character
/tmp/haskell116116-18-1ajp1ii.zofcoko6r/Codewars/Kata/PlayPass/Test.hs:23:9: Warning:
Tab character
/tmp/haskell116116-18-1ajp1ii.zofcoko6r/Codewars/Kata/PlayPass/Test.hs:26:9: Warning:
Tab character
/tmp/haskell116116-18-1ajp1ii.zofcoko6r/Codewars/Kata/PlayPass/Test.hs:29:9: Warning:
Tab character