Problem | mountains |
---|---|
User | 13ikaeel |
Submission Time | 2024-02-24 09:50:40 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
mountains.cpp:51:5: error: expected unqualified-id before ‘for’
51 | for (long long i = 1; i < n - 1; ++i) {
| ^~~
mountains.cpp:51:27: error: ‘i’ does not name a type
51 | for (long long i = 1; i < n - 1; ++i) {
| ^
mountains.cpp:51:38: error: expected unqualified-id before ‘++’ token
51 | for (long long i = 1; i < n - 1; ++i) {
| ^~
mountains.cpp:55:5: error: ‘cout’ does not name a type
55 | cout << total_choices << endl;
| ^~~~
mountains.cpp:57:5: error: expected unqualified-id before ‘return’
57 | return 0;
| ^~~~~~
mountains.cpp:58:1: error: expected declaration before ‘}’ token
58 | }
| ^