Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
Questions about using check50 to validate the output of your problem set solutions. When using this tag, please provide the command you used to run check50 and the full output of the program in the body of the question.
1
vote
Accepted
Need help solving blur with c
Your sum and count variables are initialised before your loops, so their value will persist outside of all loop iterations. This might not be the behaviour you want.
Edit: Now that you're resetting yo …
0
votes
Accepted
Some values in my 'edges' don't pass check50
I'm going to guess your check() function caps the value to 255 max. However, you store the value in your temp_img before capping it, and the RGBTRIPLE type is made up of unsigned chars which cannot ho …