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.
I have the same
Thanks for the explanation DarkD1 👍
Thank you, I realy didnt)
Did you write
using System;
?Can anyone tell me why do I have exception: "src/Solution.cs(7,13): error CS0103: The name 'Array' does not exist in the current context", as I may suppose I cant use Array.Sort(a), but why? C#
@BeckMarquez: sample tests are just what they are called for: sample.
Meaning that the full test suite contains much more tests (generally).
Meaning that your code doesn't handle properly some edge cases that aren't present in the sample tests, and so that your code isn't actually correct.
=> enjoy your debugging... ;)
You're not telling me the language you used or the problem you have ... I can't really help you with that
My guess is that you did it in C#, given your IDE; 170 people successfully completed the C# version ... so the problem might come from your end
several thousand people have successfully solved this Kata ... very unlikely there is something wrong with it
There is defently something wrong with this Kata, my code works properly in IDE Visual Studio and passes all the Basic Tests, but it didnt work well here.
There. Use
Console.WriteLine(s);
after importingSystem
orSystem.Console.WriteLine(s);
without.I thought, that Basic Tesrs are the same, do they?
Where can I see inputs without loosing honor?
or your code just isn't correct and fails on one or several inputs that are not shown in the sample tests? ;p
Write the inputs to the console, to see them.
As I may suppose, there is a mistake in this Kata when I try to resolve it on C#, because my code successfully completes Basic Tests when I "RUN SAMPLE TESTS", but error occur in Basic Tests when I try to "ATTEMPT"
Nice and clean DarkD1! Thank you very much for your explanation! Regards
This comment is hidden because it contains spoiler information about the solution