Problem | area |
---|---|
User | skibidininja98 |
Submission Time | 2024-06-19 09:36:26 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
area.cpp:6:5: error: ‘cin’ does not name a type; did you mean ‘sin’?
6 | cin >> N;
| ^~~
| sin
area.cpp:8:5: error: expected unqualified-id before ‘for’
8 | for (int i = 0; i < N; ++i) {
| ^~~
area.cpp:8:21: error: ‘i’ does not name a type
8 | for (int i = 0; i < N; ++i) {
| ^
area.cpp:8:28: error: expected unqualified-id before ‘++’ token
8 | for (int i = 0; i < N; ++i) {
| ^~
area.cpp:14:5: error: ‘cout’ does not name a type
14 | cout << total_area << "\n";
| ^~~~
area.cpp:16:5: error: expected unqualified-id before ‘return’
16 | return 0;
| ^~~~~~
area.cpp:17:1: error: expected declaration before ‘}’ token
17 | }
| ^