| Problem | razlika |
|---|---|
| User | zhangdi |
| Submission Time | 2026-01-28 16:38:03 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
razlika.cpp: In function ‘int32_t main()’:
razlika.cpp:26:32: error: no matching function for call to ‘std::deque<std::pair<long long int, long long int> >::emplace_back(<brace-enclosed initializer list>)’
26 | smol.emplace_back({diff[x],x});
| ^
In file included from /usr/include/c++/9/deque:69,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:68,
from razlika.cpp:1:
/usr/include/c++/9/bits/deque.tcc:162:7: note: candidate: ‘std::deque<_Tp, _Alloc>::reference std::deque<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {}; _Tp = std::pair<long long int, long long int>; _Alloc = std::allocator<std::pair<long long int, long long int> >; std::deque<_Tp, _Alloc>::reference = std::pair<long long int, long long int>&]’
162 | deque<_Tp, _Alloc>::
| ^~~~~~~~~~~~~~~~~~
/usr/include/c++/9/bits/de