cs50 / problems

Checks for check50
135 stars 229 forks source link

CS50P Check50 not working (Pset 3) #187

Open youssefelmarasy1 opened 1 year ago

youssefelmarasy1 commented 1 year ago

I completed the code for the "outdated' problem in Pset 3 and I successfully passed all test cases except for one. When I manually tested the output that should be given, I found that it's correct and that check50 checks it wrong. In particular, the check50 function gives me this: "input of " 9/8/1636 " outputs 1636-09-08 Did not find "1636-09-08" in "Date: "" When I tested the input, which is 9/8/1636, I get the correct output, which is 1636-09-08.

Is anyone else facing the same issue? image

Right After using check50, I put in the input for the "failed" test case and it worked as shown below image

Samartic commented 1 year ago

Actually it's because the prompt send by the check50 have space around, it's hard to find out