Skip to main content

Questions tagged [more]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
35 views

pset4 filter/more edge

My code compiles and run okay I does everything but when checking with check50 It shows error My code is : #include "helpers.h" #include <math.h> // Make a copy of array void ...
Rex Kartik's user avatar
-1 votes
1 answer
167 views

PSET4 - Filter(more)- Edges- Check50 error

#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
154 views

mario more (python)

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
87 views

Pset6 mario more didn't pass the test

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
197 views

Cannot understand why valgrind is giving error although check50 runs properly

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

Pset4 filter edges issue

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
75 views

Why isn't resize(more) printing properly?

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
60 views

Random Black Pixels on Resize More

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
112 views

pset6 (Similarities, more)

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
170 views

PSET6: Similarities: More: General Advice

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
51 views

Unexpected behavior when dealing with edit distances

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
284 views

PSET6 Similarities (More) 500 Internal Server Error

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
195 views

pset6 similarites more distances wrong operations

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
145 views

pset6/similarities more: what is the purpose of enumeration in the Operation class?

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
113 views

pset6/similarities more: if edit distance algorithm returns more than 1 cost with same value, which operation takes priority?

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
231 views

Pset6 Sentimental Mario (more) check50 fails with correct output

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
0 votes
1 answer
601 views

pset 1 credit.c

I started with the credit card case but I am lost I wrote this till now I want some help to know what to do next of course not giving the whole thing because this is the purpose of the course... ...
Hasan Alaa Nassr's user avatar
0 votes
1 answer
104 views

Pset 2 initials output correct - check50 displays error

I have encountered some problems with pset2 initials more comfortable. The output I get is correct, but check50 shows some error.Can`t find problem. Maybe someone has some hints what is wrong here? #...
Karolis Pranckevicius's user avatar
0 votes
1 answer
97 views

Pset 3: Find (more comfortable) - child exited with status 255 & exits with wrong code

I ambitiously decided to try the more comfortable version of this task, although I'm very much "less comfortable" with regard to any computer skills... Before I give up, I'd like to ask you what's ...
randomshiners's user avatar
0 votes
1 answer
514 views

pset3 find more comfortable

i had written the C code for sort and search it is not working yet my code for helper.c is /** * helpers.c * * Helper functions for Problem Set 3. */ #include <cs50.h> #include "helpers.h"...
Rahul's user avatar
  • 252
0 votes
1 answer
461 views

pset2 initials.c more comfortable

I had written the code like this but I am getting the gap between the two characters of output. How to remove this spaces. #include <stdio.h> #include <cs50.h> #include <string.h> ...
Rahul's user avatar
  • 252
1 vote
1 answer
876 views

Choosing pixels in resize (More)

I figured that in order to resize an image using a float for the scale factor I could pick the pixels to copy from the source image's scanlines as follows: For example, if the source image is 3px ...
NoobieDoobie's user avatar