0_0_38079841_22572.cpp:1:3: error: expected ')' before '=' token
(i=2;i<t;i++) { num+=ST[1].cnt*(Sc[i].x-Sc[i-1].x); Update(1,Sc[i]); } printf("Test case #%d\nTotal explored area: %.2f\n\n",ans,num); } return 0; }
^
0_0_38079841_22572.cpp:1:6: error: 'i' does not name a type
(i=2;i<t;i++) { num+=ST[1].cnt*(Sc[i].x-Sc[i-1].x); Update(1,Sc[i]); } printf("Test case #%d\nTotal explored area: %.2f\n\n",ans,num); } return 0; }
^
0_0_38079841_22572.cpp:1:10: error: 'i' does not name a type
(i=2;i<t;i++) { num+=ST[1].cnt*(Sc[i].x-Sc[i-1].x); Update(1,Sc[i]); } printf("Test case #%d\nTotal explored area: %.2f\n\n",ans,num); } return 0; }
^
0_0_38079841_22572.cpp:1:78: error: expected constructor, destructor, or type conversion before '(' token
(i=2;i<t;i++) { num+=ST[1].cnt*(Sc[i].x-Sc[i-1].x); Update(1,Sc[i]); } printf("Test case #%d\nTotal explored area: %.2f\n\n",ans,num); } return 0; }
^
0_0_38079841_22572.cpp:1:136: error: expected declaration before '}' token
(i=2;i<t;i++) { num+=ST[1].cnt*(Sc[i].x-Sc[i-1].x); Update(1,Sc[i]); } printf("Test case #%d\nTotal explored area: %.2f\n\n",ans,num); } return 0; }
^
|