Problem | orchard |
---|---|
User | bakchormee |
Submission Time | 2024-05-21 16:56:59 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
orchard.cpp: In function ‘long long int max2d(std::vector<std::vector<long long int> >, long long int, long long int)’:
orchard.cpp:23:28: error: ‘k’ was not declared in this scope
23 | ll r1 = i, r2 = j, c1 = k, c2 = k;
| ^
orchard.cpp:25:25: error: ‘c2’ was not declared in this scope; did you mean ‘c1’?
25 | ll sum = prefix[r2][c2] - prefix[r1-1][c2] - prefix[r2][c1-1] + prefix[r1-1][c1-1];
| ^~
| c1