0_0_21418674_5093.cpp: In function 'll cal(int, int)':
0_0_21418674_5093.cpp:10:13: error: 'color' was not declared in this scope
int c = color[x][y], L = 1, R = m;
^
0_0_21418674_5093.cpp:14:41: error: 'L' was not declared in this scope
for (int j = y - 1; j >= max(1, L); j--) {
^
0_0_21418674_5093.cpp:18:9: error: 'L' was not declared in this scope
L = max(L, l);
^
0_0_21418674_5093.cpp:20:57: error: 'R' was not declared in this scope
res += (ll)(n - x + 1LL) * (y - L + 1LL) * (R - y + 1LL);
^
0_0_21418674_5093.cpp:23:41: error: 'R' was not declared in this scope
for (int j = y + 1; j <= min(m, R); j++) {
^
0_0_21418674_5093.cpp:27:9: error: 'R' was not declared in this scope
R = min(R, r);
^
|