While declaring the array, you have set it’s size as max+1. However, max can be as big as 2^{60} which exceeds integer limit. While declaring arrays, we can only use sizes which fit int.
While declaring the array, you have set it’s size as max+1. However, max can be as big as 2^{60} which exceeds integer limit. While declaring arrays, we can only use sizes which fit int.