in this question what things are used such as #define ll long long, ll a[1000005],prefixsum[1000005],memset?
can i get a link from which i can understand this because i think this question is more of competetive programming…
in this question what things are used such as #define ll long long, ll a[1000005],prefixsum[1000005],memset?
can i get a link from which i can understand this because i think this question is more of competetive programming…
Hello @itsexp_2302,
#define is a preprocessors directives.
You can study it in detail at this link.
memset: you must have heard this while learning arrays, 2D arrays and vectors.
This is used to initialize them with either 0 or -1.
You can study it here.
Hope, this would help.
Give a like if you are satisfied.
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.