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.
How could it solve "[(])"?
Same problem in java, still for max(5), i get 47, which is not correct
It's still giving me issues.
Very interesting read for this question: https://bugs.openjdk.java.net/browse/JDK-8058779.
See below
@Orbit3v1 good catch ! (That's what happens when you try to code late at night :) ) I've updated the solution. Should be fine now.
This comment is hidden because it contains spoiler information about the solution
I have issue with random test cases
For input ("37029621425826148890202295535336199295530115603520770726250861330995061980145067077292042106207761891310681570073528028172251685457531059208559310382871958101950008369485335501966352636763446010535531108874361019896123928020069810922430890386613739006901910445774198630266458887634464311862397434626441051119266938809333549906243113989774346258937250651561791788903105307188929166617166368947674327124339207572596713751578691321973455280826211371594640453775504696408630946224346525095714902637422004943336654371617638305621707696899296972756194982840066831608009703547972243261771597172273954030218985139018740399626708605580709499532490428757779563256381586197455614749412053747850966280733870936589491594675562017586968840181965658547207557706615921384603658978920748508790169701072886710940677100761063503843293149386547248593586325444055343590478702748723046888466397591126821615812935916500045220667375562331425829892401095365804394231641465355142315599261978039232234490557122421730681591734154383018967549769979586120543123552065875465733894127824420262432068005193085739600216804418121843140476856979255807570237174353241064229528876663902879754166260730577558470335151532249477849774137651857129326308773401132004301590480520677798250967210239176020004778045494242968539696032776733459990668820716007421374391386743011944763207092307926282564487027448843487477273449675355386008349458322682560957053074779163521706483996198905601358092628307355803302614893894355673468203495215702786558837110105458846319135339697489785747922420042148496857833373690935688999043629889714703732797774176348219948231684234046013122324980503675453184828345030697573681649479396822910222162275741627741200487703975003143074895", false)
I found that result(m) should be the same as input(n), but I got an error that m should be n + 2. Is it correct?
As far as I know for n = 5, test 2 expect 47.
The fixed tests are the same in all languages and 175 guys passed the kata.
Did you notice in the description:
well, the test case 'test2' expects 43, while the max item is 23. Exacly the above issue, but in the C# testcases
Can you post the test output?
Still having this problem in C#.
Please can you be more precise, I don't see where the problem is:-(
This is still an issue with the Haskell test cases.
Forgot to resolve issue.
Loading more items...