Problem topical
User PlayVoltz
Submission Time 2024-01-20 14:30:25
Score 0
Max Time N/A
Max Memory N/A

Compile Error

topical.cpp: In function ‘int32_t main()’:
topical.cpp:29:3: error: expected ‘,’ or ‘;’ before ‘vector’
29 | vector<pii> vect(n);
| ^~~~~~
topical.cpp:30:31: error: ‘vect’ was not declared in this scope
30 | for (int i=0; i<n; ++i)cin>>vect[i].first;
| ^~~~
topical.cpp:31:31: error: ‘vect’ was not declared in this scope
31 | for (int i=0; i<n; ++i)cin>>vect[i].second;
| ^~~~
topical.cpp:32:8: error: ‘vect’ was not declared in this scope
32 | sort(vect.begin(), vect.end());
| ^~~~