| Problem | duckbuttons |
|---|---|
| User | wahjsodhowasd |
| Submission Time | 2026-02-19 01:17:09 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
duckbuttons.cpp: In function ‘int main()’:
duckbuttons.cpp:13:21: error: no matching function for call to ‘std::vector<std::pair<long long int, int> >::emplace_back(<brace-enclosed initializer list>)’
13 | v.emplace_back({x,i});
| ^
In file included from /usr/include/c++/9/vector:72,
from duckbuttons.cpp:2:
/usr/include/c++/9/bits/vector.tcc:109:7: note: candidate: ‘std::vector<_Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {}; _Tp = std::pair<long long int, int>; _Alloc = std::allocator<std::pair<long long int, int> >; std::vector<_Tp, _Alloc>::reference = std::pair<long long int, int>&]’
109 | vector<_Tp, _Alloc>::
| ^~~~~~~~~~~~~~~~~~~
/usr/include/c++/9/bits/vector.tcc:109:7: note: candidate expects 0 arguments, 1 provided