Problem area_noi
User sussyimpasta
Submission Time 2025-04-02 16:40:15
Score 0
Max Time N/A
Max Memory N/A

Compile Error

area_noi.cpp: In function ‘int main()’:
area_noi.cpp:6:6: error: ‘j’ was not declared in this scope
6 | for(j = 0; j < n; ++j){
| ^
area_noi.cpp:6:17: error: ‘n’ was not declared in this scope
6 | for(j = 0; j < n; ++j){
| ^
area_noi.cpp:10:17: error: expected primary-expression before ‘}’ token
10 | int P = a * b;}
| ^
area_noi.cpp:10:17: error: expected ‘)’ before ‘}’ token
10 | int P = a * b;}
| ^
| )
area_noi.cpp:9:4: note: to match this ‘(’
9 | if(i == j
| ^
area_noi.cpp:10:17: error: expected primary-expression before ‘}’ token
10 | int P = a * b;}
| ^