Problem fraud
User Hijackedsoul
Submission Time 2024-02-10 21:39:11
Score 0
Max Time N/A
Max Memory N/A

Compile Error

fraud.cpp: In function ‘int32_t main()’:
fraud.cpp:48:6: error: ‘gradient’ was not declared in this scope
48 | if(gradient[i]>=gradient[i-1]){
| ^~~~~~~~
fraud.cpp:53:6: error: ‘gradient’ was not declared in this scope
53 | if(gradient[i]>=gradient[i-1]){
| ^~~~~~~~
fraud.cpp:58:5: error: ‘asort’ was not declared in this scope; did you mean ‘qsort’?
58 | if(asort||bsort){
| ^~~~~
| qsort
fraud.cpp:58:12: error: ‘bsort’ was not declared in this scope; did you mean ‘qsort’?
58 | if(asort||bsort){
| ^~~~~
| qsort
fraud.cpp: At global scope:
fraud.cpp:65:2: error: expected declaration before ‘}’ token
65 | }
| ^