#define ll long long

why we are using #define ll long long to store large integer value or for the fast execution ?

long long is used for storing 64 bit integers where as int can only store 16 bit integers.

define ll long long is used so that every int in the whole function becomes long long and we don’t have to write it again and again

1 Like

Is it is capable to store the long long interger value.?

1 Like

thanks archit for helping.

yesss more than 6 digit 7 digit. in compeitive it can be very useful