Problem floors
User asbx
Submission Time 2023-11-17 14:01:17
Score 0
Max Time N/A
Max Memory N/A

Compile Error

floors.cpp: In function ‘int main()’:
floors.cpp:19:8: error: invalid types ‘long long int[long long int]’ for array subscript
19 | c[i-1] = p[f];
| ^
floors.cpp:31:18: error: expected ‘)’ before ‘{’ token
31 | if(p[i] = p[f]{
| ~ ^
| )
floors.cpp:34:3: error: expected primary-expression before ‘}’ token
34 | }
| ^