Newest Questions
13,589 questions
1
vote
1
answer
27
views
Psets4 Filter(less) problems, sepia and blur do not work properly :C
Sepia cant filter 3x3 and 4x4, blur cant filter middle pixel as well as 3x3, 4x4 plz help :C
#include "helpers.h"
#include <math.h>
#include <stdio.h>
// Convert image to sepia
...
0
votes
1
answer
18
views
Cs50 grading question
i submitted my first project in cs50 AI course and got an error ,so submitted again got all test cases passed yet why my progress can be seen in red??isnt taht supposed be green?/
0
votes
1
answer
10
views
Found a curious patterns in arrays, what is it?
In week 2, it was mentioned that the final integer value in array is 0, to know the string is done. I tried going past this, to see what would happen, with the following code:
#include <cs50.h>
...
0
votes
0
answers
24
views
Finance project of cs50x
If anyone has completed this project recently, please send me.
I've tried anyway but has a lots of errors,... please send.
0
votes
1
answer
13
views
Issue printing dictionary in CS50P Pset 3 Grocery
Working on Pset3 "Grocery" problem. At the end of the problem I am supposed to print out the dictionary (my grocery list) with both keys and values. However, when I print, it just shows the ...
-1
votes
2
answers
18
views
TypeError in "Taqueria" Pset3
I'm working on Felipe's Taqueria in Pset 3. Here is my code:
# Set initial cost of order to $0
order = 0
# Put menu in dict
menu = {
"Baja Taco": 4.25,
"Burrito": 7.50,
...
1
vote
1
answer
26
views
Unable to free up the malloc space, don't know what's going wrong in speller?
// Implements a dictionary's functionality
#include <ctype.h>
#include <stdbool.h>
#include <string.h>
#include <strings.h>
#include <stdio.h>
#include <stdlib.h>
...
0
votes
2
answers
40
views
outdated : code not rejecting incorrectly formatted inputs
The following two outputs which are about mixed format input like, October/8/1701 and September 8 1636,are not what they should be and i can`t make them work
import re
months = [
"January&...
0
votes
1
answer
34
views
cs50 bitcoin.py question, don't understand my code's problem
import requests
import sys
def main():
if len(sys.argv) == 1:
sys.exit("Missing command-line argument")
elif not check_bitcoin(sys.argv[1]):
sys.exit("Command-...
0
votes
0
answers
19
views
week 5 speller pbset issues
I tried stepping through the debugger so many times only to be dumbfounded, Im not even able to discern whats causing me to not pass the first test case, even ai cant give me a real answer. sorry for ...
0
votes
1
answer
39
views
Pset9 finance, can't get rid of error
I am finishing up CS50 finance, but I can't seem to pass this check. Everything is working, but when running check50 the error "expected to find "56.00" in page, but it wasn't found&...
0
votes
1
answer
11
views
The project moving
Community!
I have a question. Unfortunately, I moved my project from the root folder using the commands:
"mv project.py .."
and then
"mv project.py cd"
After running those two ...
0
votes
1
answer
16
views
HY GUYS THERE is a problem with my terminal IN CODE.CS50.IO it has no dollar sign in it AND IT IS also not letting me type PLEASE HELP ME
I ALSO TRIED DOWNLOADING VSCODE and connecting it but it just doesnt open and says that it is the old version try downloding the new version of github
but it doesnt download also
0
votes
0
answers
18
views
CS50R - Zeruda no Densetsu, 3.R
I followed the instructions to solve the 3.R code. The code returns a table with 22 rows and 10 columns, exactly as described. The table is sorted by year and, for entries with the same year, ...
0
votes
1
answer
16
views
How to submit a final project that is not in the CS50 VScode environment
I am ready to submit my final project. The video is on youtube and I have filled out the form. The README.md file is completed. I have written the code on my macbook pro in VScode and it all seems to ...