11.9 Find The Missing IP Address - C++


In the test cases of this problem, I was unable to find a single -ve number. If ip addresses are being represented as 32 bit numbers, some of them will have the signed bit on (for example:- and should be represented as -ve numbers right? Please let me know where I am making a mistake here.