Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
0 votes
1 answer
55 views

pset3 binary search , shows errors in check50

i don't understand acc. to the algorithm it should work correctly , but it doesn't
Ketan Verma's user avatar
0 votes
1 answer
101 views

pset3 binary search , problems with check50

i have tried a lot but cannot find the meaning of the last two errors of check50 please help
Ketan Verma's user avatar
0 votes
1 answer
81 views

Pset3 recursive binary search function - check50 gives me four :( and I don't know why

I would be really grateful if someone could offer me a hint as to where I'm going wrong with this - I've been stuck for a couple of days now. When I work through the code step by step on paper it ...
J M COOPER's user avatar
0 votes
1 answer
148 views

check50 fails to compile helpers.c - throws implicit function declaration error

I put my recursive binary search function prototype inside helpers.h file, and the function definition inside helpers.c file. (search calls binarysearch) This decision caused compilation failure of ...
Pooja's user avatar
  • 139
0 votes
1 answer
1k views

pset3. binary search \ expected an exit code of 0, not 1

First, thanks for helping me on this! My search function work with the tests: ./generate 1000 50 | ./find 127 -> "Found needle in haystack!" ./generate 1000 50 | ./find 128 -> "Didn't find needle in ...
Frederic Knaudt's user avatar