Skip to main content
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
Results tagged with
Search options answers only not deleted user 28562
1 vote
Accepted

CS50 - edge filter pset4

int gx[3][3] = {{-1, 0, -1}, {-2, 0, 2}, {-1, 0, 1}}; The third number in this (-1) should be 1. Which makes sense with the first row and last column being right, since that value wouldn't be used wh …
Llenk's user avatar
  • 744
0 votes

PSET4 recover. Why doesn't my counter increase?

As you note in your comment, //xxx.jpg\n need 8 space including terminating char. When you try sprintf when you've only got 7 spaces, it's still putting that null terminating character at the end, tho …
Llenk's user avatar
  • 744
2 votes

pset2 substitution not working

I don't think h = (g[k] % 90) + 65; is doing what you want it to do. If your cipher is ABCDEFG.... (just the actual alphabet), for the first time you go through that loop (i = 0, k = 0), h = (g[k] % …
Llenk's user avatar
  • 744
1 vote
Accepted

PSET 1 Less comfortable Mario

You don't have the indentation right in the for-loop section of your code, which I think is making it harder for you to see what's wrong. Here's that section, with proper indentation. for (int i = 0; …
Llenk's user avatar
  • 744
0 votes

Help with pset3 runoff

CS50x passed it in, so you should be using it. (Fixing the previous problem will mean you have to use it.) …
Llenk's user avatar
  • 744