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

Compile Error

area2.cpp: In function ‘int main()’:
area2.cpp:6:39: error: expected ‘;’ before ‘std’
6 | std::ios_base::sync_with_stdio(false)
| ^
| ;
7 | std::cin.tie(0)
| ~~~
area2.cpp:13:15: error: expected ‘;’ before ‘for’
13 | std::cin >> i
| ^
| ;
14 | for (i - 1;i = 0; i++){
| ~~~
area2.cpp:14:23: error: expected ‘;’ before ‘)’ token
14 | for (i - 1;i = 0; i++){
| ^
| ;
area2.cpp:14:24: error: expected ‘}’ at end of input
14 | for (i - 1;i = 0; i++){
| ^
area2.cpp:5:14: note: to match this ‘{’
5 | signed main(){
| ^