Problem | boundlessboxes |
---|---|
User | wongyikai |
Submission Time | 2024-12-10 00:17:37 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
boundlessboxes.cpp: In function ‘int main()’:
boundlessboxes.cpp:23:15: error: invalid types ‘ll {aka long long int}[int]’ for array subscript
23 | ll x1 = s[i].second-ans, x2 = s[i].second+ans, y1 = s[i].first-ans, y2 = s[i].first+ans;
| ^
boundlessboxes.cpp:24:21: error: ‘x2’ was not declared in this scope; did you mean ‘x1’?
24 | for (int j=x1;j<=x2;j++){
| ^~
| x1
boundlessboxes.cpp:25:19: error: invalid types ‘ll [(m + 5)][(n + 5)] {aka long long int [(m + 5)][(n + 5)]}[double(double) noexcept]’ for array subscript
25 | if (visited[y1][j] == 0) count++;
| ^
boundlessboxes.cpp:26:17: error: ‘y2’ was not declared in this scope; did you mean ‘yn’?
26 | if (visited[y2][j] == 0) count++;
| ^~
| yn
boundlessboxes.cpp:27:15: error: invalid types ‘ll [(m + 5)][(n + 5)] {aka long