Problem lowelements
User blob
Submission Time 2023-12-11 09:21:45
Score 0
Max Time N/A
Max Memory N/A

Compile Error

lowelements.cpp:3:25: error: ‘p’ has not been declared
3 | bool good (int i, int j,p[]){
| ^
lowelements.cpp: In function ‘bool good(int, int, int*)’:
lowelements.cpp:4:6: error: ‘p’ was not declared in this scope
4 | if (p[i] < p[j]) return true;
| ^
lowelements.cpp: In function ‘int main()’:
lowelements.cpp:11:26: error: expected ‘)’ before ‘{’ token
11 | for (int i=0; i < n; i++{
| ~ ^
| )