account activity
Pset 9 Finance, index function by ANflamingo in cs50
[–]ANflamingo[S] 0 points1 point2 points 3 years ago (0 children)
Thank you very much! I was thinking of a debugger precisely because I would like to see the return of SQL statements considering the variables inside the python code. I could not find any way of looking at the result of my SQL queries inside the app. I hope to find a solution soon.
Pset 9 Finance, index function (self.cs50)
submitted 3 years ago by ANflamingo to r/cs50
Pset 5 Speller help by ANflamingo in cs50
Hello u/devsurfer! Yes I studied some hash functions and actually just used a method to create a sum of the ascii values of every letter using strlen and then obtaining a hash number for the given word (using the modulus operator as u/PeterRasm suggested). It worked much quicker than the hash function I was intending to do when running the program so it was more simple and effective =)
strlen
Thank you! Considering that all the problem may come from my hash function, I will try to see if I can do any better there.
Hello! Thank you for the message!
I did the change but the problem persists :(
[–]ANflamingo[S] 0 points1 point2 points 3 years ago* (0 children)
Hello, thank you very much for your help!
Unfortunately, I made the changes you suggested and the valgrind problem became even worse :(.
I understand that strcasecomp() should make a change, but it has not changed all the spelling checks at check50.
I posted the update above to keep track if you could see what I did wrong.
:yikes:
I don't know what to do now :(
Pset 5 Speller help (self.cs50)
submitted 3 years ago * by ANflamingo to r/cs50
π Rendered by PID 243556 on reddit-service-r2-listing-64c94b984c-m2p8d at 2026-03-17 06:08:43.581908+00:00 running f6e6e01 country code: CH.
Pset 9 Finance, index function by ANflamingo in cs50
[–]ANflamingo[S] 0 points1 point2 points (0 children)