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.
Random tests should be generated as such: (use 51, 21 and 11 as the upper bound since Python's
randint
upper bound is inclusive whilst C# is exclusive)using System
should be in initial solution setup to ease debuggingshould be
using System.Linq;
should be removed from initial solution setupshould be
int l = rnd.Next(2, 51);
c# translation
sure it can - firstly multiply by mile equivalent and then divide
it can be done without casting, but it doesn't matter that much
it is required as
int / int = int
. yes, you cancast
to double in a different way but this is the way i like most* 1.0
is not requiredC# translation
c# translation
F#: Missing random tests
c# translation
fixed
C Translation (author inactive).
Loading more items...