Progression.cpp: In function 'void propo(int, int, int)':
Progression.cpp:56:26: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
56 | #define MLR int mid = lo + hi >> 1; int lc = u << 1, rc = u << 1 ^ 1
| ~~~^~~~
Progression.cpp:62:2: note: in expansion of macro 'MLR'
62 | MLR;
| ^~~
Progression.cpp: In function 'void init(int, int, int)':
Progression.cpp:56:26: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
56 | #define MLR int mid = lo + hi >> 1; int lc = u << 1, rc = u << 1 ^ 1
| ~~~^~~~
Progression.cpp:112:3: note: in expansion of macro 'MLR'
112 | MLR;
| ^~~
Progression.cpp: In function 'void upset(int, int, int, int, int, int, int)':
Progression.cpp:56:26: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
56 | #define MLR int mid = lo + hi >> 1; int lc = u << 1, rc = u << 1 ^ 1
| ~~~^~~~
Progression.cpp:132:2: note: in expansion of macro 'MLR'
132 | MLR;
| ^~~
Progression.cpp: In function 'void incre(int, int, int, int, int, int, int)':
Progression.cpp:56:26: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
56 | #define MLR int mid = lo + hi >> 1; int lc = u << 1, rc = u << 1 ^ 1
| ~~~^~~~
Progression.cpp:151:2: note: in expansion of macro 'MLR'
151 | MLR;
| ^~~
Progression.cpp: In function 'void query(int, int, int, int, int)':
Progression.cpp:56:26: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
56 | #define MLR int mid = lo + hi >> 1; int lc = u << 1, rc = u << 1 ^ 1
| ~~~^~~~
Progression.cpp:169:2: note: in expansion of macro 'MLR'
169 | MLR;
| ^~~
Progression.cpp: In function 'int main()':
Progression.cpp:192:7: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
192 | scanf("%d%d", &n, &q);
| ~~~~~^~~~~~~~~~~~~~~~
Progression.cpp:195:15: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
195 | int d; scanf("%d", &d);
| ~~~~~^~~~~~~~~~
Progression.cpp:199:15: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
199 | int t; scanf("%d", &t);
| ~~~~~^~~~~~~~~~
Progression.cpp:201:25: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
201 | int l, r, s, c; scanf("%d%d%d%d", &l, &r, &s, &c);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
Progression.cpp:204:25: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
204 | int l, r, s, c; scanf("%d%d%d%d", &l, &r, &s, &c);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
Progression.cpp:207:19: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
207 | int l, r; scanf("%d%d", &l, &r);
| ~~~~~^~~~~~~~~~~~~~~~