Problem | poi |
---|---|
User | burningout |
Submission Time | 2025-02-18 12:10:39 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
poi.cpp: In function ‘int main()’:
poi.cpp:17:7: error: ‘i’ was not declared in this scope
17 | fin[i][2] = i + 1; // store id to use for sorting
| ^
poi.cpp:26:31: error: ‘customSort’ was not declared in this scope
26 | sort(fin.begin(), fin.end(), customSort);
| ^~~~~~~~~~
poi.cpp:27:45: error: a function-definition is not allowed here before ‘{’ token
27 | bool customSort(vector<ll> l, vector<ll> r){
| ^
poi.cpp:37:6: error: ‘b’ was not declared in this scope
37 | if(b[i][2] == p)
| ^