Problem datacenters
User Xiaoyang
Submission Time 2023-10-07 00:54:23
Score 0
Max Time N/A
Max Memory N/A

Compile Error

datacenters.cpp: In function ‘int main()’:
datacenters.cpp:62:14: error: no matching function for call to ‘merge(std::deque<int>&, std::vector<long long int>&)’
62 | a=merge(a,v);
| ^
datacenters.cpp:28:11: note: candidate: ‘std::deque<int> merge(std::deque<int>&, std::vector<int>&)’
28 | deque<int>merge(deque<int>&a,vector<int>&b){
| ^~~~~
datacenters.cpp:28:42: note: no known conversion for argument 2 from ‘std::vector<long long int>’ to ‘std::vector<int>&’
28 | deque<int>merge(deque<int>&a,vector<int>&b){
| ~~~~~~~~~~~~^
In file included from /usr/include/c++/9/algorithm:62,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:65,
from datacenters.cpp:3:
/usr/include/c++/9/bits/stl_algo.h:4955:5: note: candidate: ‘template<class _IIter1, class _IIt