Skip to main content

Questions tagged [more]

-1 votes
1 answer
181 views

#include"helpers.h" #include <math.h> int check_cap(int num); void edges(int height, int width, RGBTRIPLE image[height][width]) { RGBTRIPLE image_copy[...
BadboyNicholai's user avatar
0 votes
2 answers
174 views

I've tried to make my code efficient by reducing the number of loops/print functions compared with my solution in c. My code works, but check50 isn't happy with it -- apparently an extra space is ...
AbbiePBC's user avatar
0 votes
1 answer
105 views

I run through my code many times and didn't find anything wrong with it but the result printed out wasn't right: from cs50 import get_int while True: height = get_int("How high is the pyramid?...
nmn's user avatar
  • 3
0 votes
1 answer
210 views

In this problem, (filter), I'm receiving all green from check50. But when I ran valgrind for blurring I got the following error: ==4412== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al....
ucchasgfrank's user avatar
2 votes
2 answers
6k views

I'm trying to figure why my code doesn't work for detecting edges. Even though it produces a result, it is too white. Any suggestions? // Detect edges void edges(int height, int width, RGBTRIPLE ...
Marianna's user avatar
0 votes
1 answer
81 views

I am back again with another question about resize more. I feel like I am pretty close, but for some reason it is not resizing vertically properly when the factor is larger than 0 (I haven't dabbled ...
Jacob Pieczynski's user avatar
0 votes
1 answer
79 views

I am currently working on Pset3 Resize More. This is something I have never really done before, and I am really not sure if I am missing something major or not. Right now, I know that I can't shrink ...
Jacob Pieczynski's user avatar
1 vote
1 answer
125 views

Does anyone know what this lines of code stand for ? _, operation = matrix[i][j] Specifically I am interested in a dash before the comma. Thank you in advance.
Sergey Chernayev's user avatar
1 vote
0 answers
188 views

Just looking for some general advice for pset6 similarities more. I went for more (rather than less) as I have had some experience with python and dynamic programming prior to CS50. However I have ...
Iain MacCormick's user avatar
0 votes
1 answer
67 views

One more doubt has arised, as I get closer to the end of this course. Doing the less complicated version of Similarities was trivial to me; however, I am going through some issues with the outcomes of ...
Igor Matheus Moreira's user avatar
0 votes
1 answer
302 views

While performing testing of my web application, upon submitting the form and going to /score, none of the actual webpage is displayed, only the text: Internal Server Error The server encountered an ...
user9474943's user avatar
0 votes
1 answer
214 views

Problem I am experiencing: I have figured out an algorithm for distances to calculate the edit distance between two strings. The costs in the tuples are correct, but the conditions are not properly ...
whackdev's user avatar
0 votes
2 answers
174 views

Currently tackling pset6 similarities more, and I'm trying to figure out what the purpose of enumeration is for in the Operation class. Here is the code taken from the helpers.py file: class ...
doctopus's user avatar
  • 119
0 votes
1 answer
129 views

I'm working on pset6 similarities (more) and have a question about the edit distance algorithm. If the edit distance algorithm returns more than one cost with the same value, which operation takes ...
doctopus's user avatar
  • 119
0 votes
1 answer
242 views

My python code works correctly, outputting the appropriate number of spaces and #s to the terminal window, but it fails check50 for one test: :( rejects a height of 24, and then accepts a height of 2 ...
sweetJP's user avatar

15 30 50 per page