Problem area
User ETkilobyte
Submission Time 2024-05-19 10:55:11
Score 0
Max Time N/A
Max Memory N/A

Compile Error

area.cpp: In function ‘int main()’:
area.cpp:9:25: error: ‘n’ was not declared in this scope
9 | for (int i = 0; i < n; i++) {
| ^
area.cpp:10:21: error: ‘inputs’ was not declared in this scope; did you mean ‘puts’?
10 | std::cin >> inputs[i].first >> inputs[i].second;
| ^~~~~~
| puts
area.cpp:14:29: error: ‘inputs’ was not declared in this scope; did you mean ‘puts’?
14 | for (const auto& pair : inputs) {
| ^~~~~~
| puts