Main.cpp:41:6: error: redefinition of 'bool iss0(int, int)'
41 | bool iss0 (int l, int r) {
| ^~~~
Main.cpp:30:6: note: 'bool iss0(int, int)' previously defined here
30 | bool iss0 (int l, int r) {
| ^~~~
Main.cpp: In function 'bool iss(int, int)':
Main.cpp:53:25: error: 'iss1' was not declared in this scope; did you mean 'iss'?
53 | return iss0(l, r) | iss1(l, r);
| ^~~~
| iss
Main.cpp: In function 'll calc(int, int)':
Main.cpp:59:55: error: 'ans' was not declared in this scope; did you mean 'abs'?
59 | for (int j = i; j <= r; j++) if (iss(i, j)) ++ans;
| ^~~
| abs
Main.cpp:61:13: error: 'ans' was not declared in this scope; did you mean 'abs'?
61 | cout << ans << '\n';
| ^~~
| abs
Main.cpp:57:8: warning: unused variable 'res' [-Wunused-variable]
57 | ll res = 0;
| ^~~
Main.cpp:62:1: warning: no return statement in function returning non-void [-Wreturn-type]
62 | }
| ^
Main.cpp: In function 'void solve()':
Main.cpp:76:17: error: 'x' was not declared in this scope
76 | sum(x, l, r);
| ^
Main.cpp: In function 'bool iss0(int, int)':
Main.cpp:40:1: warning: control reaches end of non-void function [-Wreturn-type]
40 | }
| ^
Main.cpp: In function 'bool iss0(int, int)':
Main.cpp:51:1: warning: control reaches end of non-void function [-Wreturn-type]
51 | }
| ^