Problem poi
User burningout
Submission Time 2025-03-02 01:42:46
Score 0
Max Time N/A
Max Memory N/A

Compile Error

poi.cpp: In function ‘int main()’:
poi.cpp:20:23: error: ‘m’ was not declared in this scope
20 | for (int j = 0; j < m; j++){
| ^
poi.cpp:26:47: error: a function-definition is not allowed here before ‘{’ token
26 | bool customSort(vector<int> l, vector<int> r){
| ^
poi.cpp:34:31: error: ‘customSort’ was not declared in this scope
34 | sort(fin.begin(), fin.end(), customSort);
| ^~~~~~~~~~
poi.cpp:41:1: error: expected ‘}’ at end of input
41 | }
| ^
poi.cpp:4:12: note: to match this ‘{’
4 | int main() {
| ^