Questions tagged [runtime]

The tag has no usage guidance.

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

cs50 pset4 blur function index out of bounds issue

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, ...
0
votes
1answer
9 views

Analysing Expected runtime

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 ...
0
votes
1answer
38 views

Concept of run time in lecture week 3

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 ...
0
votes
1answer
37 views

In the previous code, I am getting runtime error

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 ...
0
votes
1answer
4k views

null pointer passed as argument 1

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/...