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 |
1
vote
Accepted
pset3 fifteen - doesn't work ONLY with blank = 0
As a side note, you could simplify the test even more by just checking whether board[m+1][n] == BLANK rather than board[blank_x][blank_y]. …
0
votes
Accepted
pset3 fifteen - doesn't work with blank = 0
This won't necessarily trigger an error, but the next line will introduce whatever represents a blank tile into board[i][j]. …
1
vote
Accepted
Pset4 recover getting 24 blank jpg
Your code looks for a signature at the beginning of a block. Since it appears to be creating a number of files, that part seems to be working, sort of.
Creating 24 files? Hmmm, that's a problem. If …
6
votes
Accepted
cs50 pset 4 Recover - I get 50 blank images of different sizes
Your program is doing a good job (although not perfect) of detecting the blocks with the signature, creating the files and writing out the first block of each file. However, you have done nothing to …