cs50ai icon indicating copy to clipboard operation
cs50ai copied to clipboard

Code not working with large dataset

Open alex-battikha opened this issue 4 years ago • 2 comments

Hello,

Nice job! I tried out your code and it worked perfectly fine for the small dataset given. However, the code did not work for the large dataset. Please check this out and let me know. Looking forward to hearing from you

alex-battikha avatar Jun 30 '20 18:06 alex-battikha

Hi! Thanks for checking it out! Could you provide some more details about which part didn't work for you?

PS. I would love to help out but I'm a little busy with other projects these days. I request you to either ask for support on official CS50 support channels or give me a few more days to take a look. Thansk!

ballaneypranav avatar Jul 05 '20 06:07 ballaneypranav

Hi!

Thank you so much for getting back to me! Upon testing your CS50 Project 0 - Degrees Calculator, I had trouble passing all the requirements with the large dataset. When running the code and choosing an actor with the same name as another, it would prompt and ask for the ID of the desired actor, but once I enter the ID number, the code crashes and does not return anything. This same code works for the small dataset perfectly fine and passes all requirements.

I recommend trying out Kevin Bacon and Oliver Stone in order to observe this dilemma. I have a version of the code that passes all requirements with no bugs, if you would like for me to send it over to check it out! No worries, take your time! Talk to you soon!

alex-battikha avatar Jul 06 '20 21:07 alex-battikha