Problem area
User ToiletBrIcker
Submission Time 2024-06-19 09:22:24
Score 0
Max Time N/A
Max Memory N/A

Compile Error

area.cpp: In function ‘int main()’:
area.cpp:4:23: error: expected ‘;’ before ‘while’
4 | long total; total = 0
| ^
| ;
5 | while (N--){
| ~~~~~
area.cpp:10:20: error: expected ‘;’ before ‘}’ token
10 | std::cout << total
| ^
| ;
11 | }
| ~