| Problem | competition |
|---|---|
| User | lolbeast |
| Submission Time | 2025-05-26 08:57:50 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
competition.cpp: In function ‘int main()’:
competition.cpp:17:37: error: class template argument deduction failed:
17 | vector<pair(long long, long long)> advantage(n);
| ^
competition.cpp:17:37: error: no matching function for call to ‘pair()’
In file included from /usr/include/c++/9/bits/stl_algobase.h:64,
from /usr/include/c++/9/bits/specfun.h:45,
from /usr/include/c++/9/cmath:1927,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:41,
from competition.cpp:1:
/usr/include/c++/9/bits/stl_pair.h:442:40: note: candidate: ‘template<class _T1, class _T2> std::pair(_T1, _T2)-> std::pair<_T1, _T2>’
442 | template<typename _T1, typename _T2> pair(_T1, _T2) -> pair<_T1, _T2>;
| ^~~~
/usr/include/c++/9/bits/stl_pair.h:442:40: note: template argument