0

I completed the DNA problem on pset6. There is a series of tests you need to enter into the command line before you submit, and I did all of them and passed every single one (as shown below).

However, when I used submit50 and submitted my code, I only got 42%.

Even when I go into the link it gave me and look further into the check50 to see what I got wrong, I see that it's failing tests that work even when I copy the command straight from that page back into my command prompt.

enter image description here

enter image description here

^ Fails all the other ones not shown in the picture

1

checkCS50 is strict, once it gave me a zero just because the result did not had '\n' as expected, so share your last part of the code when printing the match i will try to help

| improve this answer | |
  • 1
    I just figured it out, it was because my program was way too slow and I made some changes to improve the runtime. Thanks! – flashwingfelix May 26 at 1:23

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .