This for loop macro is used frequently in competitive programming:
#define REP(i, a, b) \
for (int i = int(a); i <= int(b); i++)
Now we use it as follows:
REP(i, a, b)
statement;
But what if i want to use multiple statement like this?
REP(i, a, b)
statement1;
statement2;
where both the statements are inside the loop. How do I accomplish this?