How to take limited constraint 1<=A[i]<=10^9 Array in C/C++ code for OJs

code:

Source:
https://www.facebook.com/groups/bengaliprogramming/permalink/717276125110930/