Problem | area |
---|---|
User | om2024 |
Submission Time | 2024-06-19 10:44:49 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
area.cpp: In function ‘int main()’:
area.cpp:6:2: error: ‘arr’ was not declared in this scope
6 | arr[n];
| ^~~
area.cpp:7:7: error: ‘i’ was not declared in this scope
7 | for (i = 0; i < n; i++) {
| ^
area.cpp:9:8: error: ‘x’ was not declared in this scope
9 | for (x = 0, x < n; n++) {
| ^
area.cpp:9:25: error: expected ‘;’ before ‘)’ token
9 | for (x = 0, x < n; n++) {
| ^
| ;
area.cpp:13:16: error: ‘x’ was not declared in this scope
13 | int z; cin >> x;
| ^
area.cpp:14:7: error: ‘y’ was not declared in this scope
14 | for (y = 0, y < n; y++) {
| ^
area.cpp:14:24: error: expected ‘;’ before ‘)’ token
14 | for (y = 0, y < n; y++) {
| ^
| ;
area.cpp:15:19: error: ‘i’ was not decla