Questions tagged [2020]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
17 views

How to add files to Desktop in CS50 Sandbox

I am wondering how to add files to the desktop in CS50 Sandbox. If you are wondering how to make a desktop, here is a list of step by step insturctions. Open CS50 Sandbox. Click on the plus. Click ...
0
votes
1answer
27 views

PSET3 Runoff specification (year 2020): Multiple eliminated candidates featuring in the next-preferred candidates list

In the pset3 Runoff specification (year 2020), every voter effectively votes for their top-preferred candidate who has not already been eliminated. If the top-preferred candidate has already been ...
0
votes
0answers
173 views

CS50 Web 2020, Project 1 - Wiki, CSS not working

I'm currently using Django as explained in cs50w 2020 lecture 3. Under the static folder inside encyclopedia directory is the styles.css. This was in the distro code and there is already some styles ...
0
votes
3answers
41 views

Even though I get correct output check50 shows error in pset3 plurality problem

#include <cs50.h> #include <stdio.h> #include <string.h> // Max number of candidates #define MAX 9 // Candidates have name and vote count typedef struct { string name; int ...
0
votes
1answer
90 views

cs50 problem set 1 mario. check50 command returns error: 'You seem to be missing these required files: mario.c'

I have an error with commands check50 cs50/problems/2020/x/mario/less and submit50 cs50/problems/2020/x/mario/less its returns: ~/ $ check50 cs50/problems/2020/x/mario/less Connecting..... You ...
0
votes
0answers
37 views

Pset4 Recover segmentation error

Help needed with recover part of pset4. Please find my code below. It compiles but produces a seg fault. Any comments are welcome. Thanks in advance. #include <stdio.h> #include <stdlib.h&...
0
votes
0answers
157 views

Artificial Intelligence course's 0th lecture. QueueFrontier and StackFrontier produce the same results. What should I do to fix this?

I have joined CS50's Artificial Intelligence with Python online course but encountered a problem in the 0th project I downloaded from their website. It's a maze project and I have to telll the ...
0
votes
0answers
33 views

2019-2020 final project submited

I've started CS50 in 2019 and I've bought the certificat (In case I'll pass it :) ). I'm in this case: If you submitted Problem Sets 0 – 4 last year, resume your studies with Problem Set 3 in Week 3 ...
0
votes
1answer
193 views

Why can't I print the entire string from the read file?

For the DNA assignment in pset6, I'm trying to print out the output of slicing the string that was read from one of the DNA sequence text files, which reads as follows: ...
0
votes
1answer
481 views

DNA code doesn't work sometimes

OK, so I`ve got a strange bug in my DNA code. Basically, it works fine, but somehow it gives incorrect output at samples 6, 8, 9, 19. When I looked more carefully through my STR check results, it ...
1
vote
1answer
211 views

credit - Why this AMEX and MASTERCARD numbers are considered invalid?

I have compiled my version of credit, anyway check50 throws 2 fails during its check. Lines with numbers where it fails are: :( identifies 369421438430814 as INVALID expected "INVALID\n", not ...
0
votes
1answer
627 views

PSET6 DNA Sumbit50 not matching with usual output

Hello, After a lots of effort I was finally able to implement DNA and it works correctly ! but Submit50 shows correct output for text file (1-5) but incorrect for rest The text file which have ...
0
votes
1answer
145 views

PSet2 doesn't match with Gradebook

I started the course on the 7th of January of 2020. I've done PSet0 and PSet1 with no problem. Now I'm in the middle of PSet2. I've done Caesar and submitted it. It appears in my Gradebook. Now I've ...
0
votes
2answers
2k views

PSET3 runoff 2020

I have some trouble with PSET3 2020 runoff: in Specification: Complete the implementation of runoff.c in such a way that it simulates a runoff election. You should complete the implementations of ...
2
votes
1answer
3k views

tideman pset3 cs502020 sort pairs

I started on cs502020 new pset3 -tideman few days ago and haven't been able to figure out how to implement sort_pairs, where one has to sort the struct in an array based on strength of the victory. ...