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 |
The problem set for Week 3 asks students to write code for a classic puzzle game in the C programming language.
1
vote
Accepted
Can't determine the problem with my tideman program - check50 fails at lock_pairs function, ...
Thanks to u/yeahIProgram on reddit for this answer:
If you look at the second if statement in my cycleCheck function, it first asks whether the current loser passed to the function is the winner of an …
1
vote
1
answer
422
views
Can't determine the problem with my tideman program - check50 fails at lock_pairs function, ...
My program for the tideman problem in pset3 passes all check50 checks except for
:( lock_pairs skips final pair if it creates cycle
lock_pairs did not correctly lock all non-cyclical pairs
Here are …