Problem topical
User Vinayak01
Submission Time 2024-02-16 20:21:05
Score 0
Max Time N/A
Max Memory N/A

Compile Error

topical.cpp: In function ‘int main()’:
topical.cpp:40:31: error: expected unqualified-id before ‘>’ token
40 | vector<pair<vector<int>,int>>> q(n);
| ^
topical.cpp:51:3: error: ‘q’ was not declared in this scope
51 | q[i] = make_pair(r[i],i);
| ^
topical.cpp:54:7: error: ‘q’ was not declared in this scope
54 | sort(q.begin(),q.end(),isSmallerpair);
| ^