Mario less comfortable task – How to add space without typing in ” ” [closed]
Closed 2 days ago.
Missing one case output for the CS50x Readability assignment , grade 5 output is expect but i get grade 4
LINK TO ASSIGNMENT: https://cs50.harvard.edu/x/2024/psets/2/readability/
heres my code for the CS50x Readability assignment
Missing one case output for the CS50x Readability assignment , grade 5 output is expect but i get grade 4
LINK TO ASSIGNMENT: https://cs50.harvard.edu/x/2024/psets/2/readability/
heres my code for the CS50x Readability assignment
Floating point exception (core dumped) error cs50 credit problem
I’m working on cs50 and I’m getting this error when trying to run. The program asks the user for a credit card number and then reports (via printf) whether it is a valid American Express, MasterCard, or Visa card number, using luhns algorithm and the requirements for each card. source code is below
Why is there no output when working with certain card numbers? cs50 credit problem
The program asks the user for a credit card number and then reports (via printf) whether it is a valid American Express, MasterCard, or Visa card number, using luhns algorithm and the requirements for each card. When testing the code, some card numbers just have no output.The source code and results of the test are below:
CS 50 – Filter More Edges – all test cases passing (incl. 3×3) but not 4×4
I have written the below code for the Edges function for CS50. I pass all test cases except for the 4×4 image. I can’t seem to figure out why my code would work for a 3×3 image but not a 4×4 (or an NxN). Perhaps I’m too close to the code so I’m hoping you all can help me.
CS 50 – Filter More Edges – all test cases passing (incl. 3×3) but not 4×4
I have written the below code for the Edges function for CS50. I pass all test cases except for the 4×4 image. I can’t seem to figure out why my code would work for a 3×3 image but not a 4×4 (or an NxN). Perhaps I’m too close to the code so I’m hoping you all can help me.
CS 50 – Filter More Edges – all test cases passing (incl. 3×3) but not 4×4
I have written the below code for the Edges function for CS50. I pass all test cases except for the 4×4 image. I can’t seem to figure out why my code would work for a 3×3 image but not a 4×4 (or an NxN). Perhaps I’m too close to the code so I’m hoping you all can help me.
CS50 Tideman: lock_pairs not correctly locking all non-cyclical pairs despite appearing correct
I am working on the Tideman problem from the CS50 course (see Problem Set 3 – Tideman), and I am having an issue with my lock_pairs
function. The function is intended to lock pairs of candidates without creating cycles, but I am encountering unexpected behavior.
Why one of the following syntax work while the other doesnt (in C)
This like of code seems to give the correct result in Filter-more exercise in CS50.