| Problem | conductslip |
|---|---|
| User | asbx |
| Submission Time | 2023-11-20 10:11:31 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
conductslip.cpp: In function ‘int main()’:
conductslip.cpp:12:2: error: expected initializer before ‘int’
12 | int happiness[l];
| ^~~
conductslip.cpp:16:12: error: ‘belowk’ was not declared in this scope
16 | if(s>=k) belowk[i]=true;
| ^~~~~~
conductslip.cpp:17:8: error: ‘belowk’ was not declared in this scope
17 | else belowk[i]=false;
| ^~~~~~
conductslip.cpp:21:8: error: ‘happiness’ was not declared in this scope
21 | cin>>happiness[i];
| ^~~~~~~~~
conductslip.cpp:23:7: error: ‘happiness’ was not declared in this scope
23 | sort(happiness, happiness+sizeof(happiness));
| ^~~~~~~~~