Problem sort
User StormyGood
Submission Time 2024-04-06 13:57:11
Score 0
Max Time N/A
Max Memory N/A

Compile Error

sort.cpp: In function ‘int main()’:
sort.cpp:21:16: error: ‘A’ was not declared in this scope
21 | cin >> A[i];
| ^
sort.cpp:24:10: error: ‘A’ was not declared in this scope
24 | sort(A.begin(), A.end(), compare);
| ^