Main.cpp: In function 'int main()':
Main.cpp:24:26: error: the value of 'm' is not usable in a constant expression
24 | if (mx < m - r + l){
| ^
Main.cpp:7:12: note: 'int m' is not const
7 | int n, m;
| ^
Main.cpp:24:26: error: the value of 'm' is not usable in a constant expression
24 | if (mx < m - r + l){
| ^
Main.cpp:7:12: note: 'int m' is not const
7 | int n, m;
| ^
Main.cpp:24:26: error: the value of 'm' is not usable in a constant expression
24 | if (mx < m - r + l){
| ^
Main.cpp:7:12: note: 'int m' is not const
7 | int n, m;
| ^
Main.cpp:24:26: error: the value of 'm' is not usable in a constant expression
24 | if (mx < m - r + l){
| ^
Main.cpp:7:12: note: 'int m' is not const
7 | int n, m;
| ^
Main.cpp:24:26: error: the value of 'm' is not usable in a constant expression
24 | if (mx < m - r + l){
| ^
Main.cpp:7:12: note: 'int m' is not const
7 | int n, m;
| ^
Main.cpp:24:26: error: the value of 'm' is not usable in a constant expression
24 | if (mx < m - r + l){
| ^
Main.cpp:7:12: note: 'int m' is not const
7 | int n, m;
| ^
Main.cpp:24:26: error: the value of 'm' is not usable in a constant expression
24 | if (mx < m - r + l){
| ^
Main.cpp:7:12: note: 'int m' is not const
7 | int n, m;
| ^
Main.cpp:24:26: error: the value of 'm' is not usable in a constant expression
24 | if (mx < m - r + l){
| ^
Main.cpp:7:12: note: 'int m' is not const
7 | int n, m;
| ^
Main.cpp:24:26: error: the value of 'm' is not usable in a constant expression
24 | if (mx < m - r + l){
| ^
Main.cpp:7:12: note: 'int m' is not const
7 | int n, m;
| ^
Main.cpp:24:13: error: 'mx' was not declared in this scope; did you mean 'm'?
24 | if (mx < m - r + l){
| ^~
| m
Main.cpp:26:13: error: 'ansl' was not declared in this scope
26 | ansl = l;
| ^~~~
Main.cpp:27:13: error: 'ansr' was not declared in this scope
27 | ansr = r - 1;
| ^~~~
Main.cpp:30:13: error: 'ansl' was not declared in this scope
30 | cout << ansl - 1 << ' ' << ansr - 1 << endl;
| ^~~~
Main.cpp:30:32: error: 'ansr' was not declared in this scope
30 | cout << ansl - 1 << ' ' << ansr - 1 << endl;
| ^~~~