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.
rejecting because:
the language version is invalid for cpp
that was very interesting, thanks!
Sure, my foul
This isn't possible in any current version of C#.
2^31 = 2147483648
(DateTime.MaxValue - DateTime.MinValue).TotalDays = 3652059 (less than 2^31)
cycleLength is int, which has a max value of 2147483647 (less than 2^31)
There is no possible way to pass this method values that will cause the error you describe.
This comment is hidden because it contains spoiler information about the solution
c# tests give growing input? every next test is previous+newtest. last test already has 200 lines (all previous lines together)
[Y
yY
ysY
ysY
y*[*
[Y
yY
ysY
ysY
y*[*
PdqTq
PdqTq
dqTq
PqTq
Pdq**
[Y
yY
ysY
ysY
y*[*
PdqTq
PdqTq
dqTq
PqTq
Pdq**
9Mccp
9McWTcp
MWJTcp
9MWJ*p
9McJTp
[Y
yY
ysY
ysY
y*[*
PdqTq
PdqTq
dqTq
PqTq
Pdq**
9Mccp
9McWTcp
MWJTcp
9MWJ*p
9McJTp
2XNs
*2X's
DX'*s
D2X's
D2'Ns
etc.
1C =)))
Thanks for reply! however your answer is flaged as spoiler, so... =)
C++:
#include
#include <bits/stdc++.h>
using namespace std;
these fields not needed in setup
very interesting kata! 100+ lines but I did it =)
Approved.
Please use spoiler flag next time, your post was visible in the homepage.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Yours is very neat! Thank you for showing me. I changed mine following your suggestions, looks cool now IMO. But I am not sure about random(). As I understand 5 fields must be somewhere outside of it, to avoid initializing them every time I call function.
Loading more items...