| Problem | helloworld |
|---|---|
| User | Batigol |
| Submission Time | 2026-02-11 21:07:55 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
helloworld.cpp: In function ‘void decomp(long long int, long long int)’:
helloworld.cpp:80:28: error: no match for ‘operator=’ (operand types are ‘std::vector<std::pair<long long int, long long int> >’ and ‘<brace-enclosed initializer list>’)
80 | twok[x][0] = {p, weight[x]};
| ^
In file included from /usr/include/c++/9/vector:72,
from /usr/include/c++/9/functional:62,
from /usr/include/c++/9/pstl/glue_algorithm_defs.h:13,
from /usr/include/c++/9/algorithm:71,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:65,
from helloworld.cpp:5:
/usr/include/c++/9/bits/vector.tcc:198:5: note: candidate: ‘std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(const std::vector<_Tp, _Alloc>&) [with _Tp = std::pair<long long int, long long int>; _Alloc = std::allocator<std::pair<long long i