Problem area2
User Taken
Submission Time 2026-11-04 10:31:30
Score 0
Max Time N/A
Max Memory N/A

Compile Error

area2.cpp: In function ‘int main()’:
area2.cpp:12:14: error: ‘n’ was not declared in this scope; did you mean ‘yn’?
12 | std::cin >> n
| ^
| yn
area2.cpp:13:13: error: ‘i’ was not declared in this scope
13 | for (i - 1;i = 0; i++){
| ^
area2.cpp:19:10: error: expected ‘;’ before ‘}’ token
19 | return 0
| ^
| ;
20 | }
| ~