Ad
  • Custom User Avatar

    How could it solve "[(])"?

  • Custom User Avatar

    Same problem in java, still for max(5), i get 47, which is not correct

  • Custom User Avatar

    It's still giving me issues.

  • Custom User Avatar
  • Custom User Avatar

    See below

  • Custom User Avatar

    @Orbit3v1 good catch ! (That's what happens when you try to code late at night :) ) I've updated the solution. Should be fine now.

  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar

    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?

  • Custom User Avatar

    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:

    4: p(n) with parameter n: returns an array of n unique prime numbers (not tested)

    5: maxp(n) with parameter n: returns the biggest prime number of the sequence pn(n) # (tested)

  • Custom User Avatar

    well, the test case 'test2' expects 43, while the max item is 23. Exacly the above issue, but in the C# testcases

  • Custom User Avatar

    Can you post the test output?

  • Custom User Avatar

    Still having this problem in C#.

  • Custom User Avatar

    Please can you be more precise, I don't see where the problem is:-(

  • Custom User Avatar

    This is still an issue with the Haskell test cases.

  • Custom User Avatar

    Forgot to resolve issue.

  • Loading more items...