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

Compile Error

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