| Problem | card |
|---|---|
| User | SuryaReddy |
| Submission Time | 2026-01-28 17:20:18 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
card.cpp: In function ‘int main()’:
card.cpp:12:2: error: ‘vector’ was not declared in this scope
12 | vector<int> areas(n);
| ^~~~~~
card.cpp:12:9: error: expected primary-expression before ‘int’
12 | vector<int> areas(n);
| ^~~
card.cpp:19:3: error: ‘areas’ was not declared in this scope; did you mean ‘area’?
19 | areas[i] = area;
| ^~~~~
| area
card.cpp:22:22: error: ‘areas’ was not declared in this scope; did you mean ‘area’?
22 | long long maxArea = areas[0];
| ^~~~~
| area
card.cpp:25:13: error: ‘max’ was not declared in this scope; did you mean ‘std::max’?
25 | maxArea = max(maxArea, areas[j]);
| ^~~
| std::max
In file included from /usr/include/c++/9/bits/char_traits.h:39,
from /usr/include/c++/9/ios:40,
from /usr/include/c+