Skip to main content

Questions tagged [runtime]

0 votes
1 answer
85 views

I am working on the cs50 pset4 blur function, but I seem to be getting runtime error index out of bounds for the top and bottom pixels. Here is the code: // Blur image void blur(int height, int width, ...
Krasimir Yankov Kolev's user avatar
0 votes
1 answer
31 views

I came across a question to implement an unbiased random function which outputs 0 or 1 using a biased output function which outputs 0 or 1 with probability P for outputting 1. And to predict how the ...
Hari07's user avatar
  • 5
0 votes
1 answer
55 views

In week 3's lecture, David talked about the concept of runtime where the worst possible scenario for say insertion sort is O(n squared) and the best case scenario would be omega(n). I dont understand ...
Iberico's user avatar
  • 29
0 votes
1 answer
54 views

What should I do ? How to get rid of this runtime error Link to my code I had written the code for snackdown'17 (Temple Land) my command line is showing snkeat.c:58:28: runtime error: unsigned ...
Rahul's user avatar
  • 252
0 votes
1 answer
5k views

I had written this function for argument checking but it is showing this type of error vigenere.c:26:20: runtime error: null pointer passed as argument 1, which is declared to never be null /usr/...
Rahul's user avatar
  • 252