Problem | rebuild |
---|---|
User | Pan |
Submission Time | 2024-03-10 00:09:08 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
In file included from /usr/include/c++/9/cassert:44,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:33,
from rebuild.cpp:1:
rebuild.cpp: In function ‘bool rebuild(int, std::vector<int>, bool)’:
rebuild.cpp:51:24: error: no match for ‘operator/’ (operand types are ‘std::vector<int>’ and ‘int’)
51 | assert(edges.size()==D/2);
| ~^~
| | |
| | int
| std::vector<int>
In file included from /usr/include/c++/9/ccomplex:39,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:54,
from rebuild.cpp:1:
/usr/include/c++/9/complex:421:5: note: candidate: ‘template<class _Tp> std::complex<_Tp> std::operator/(const std::complex<_Tp>&, const std::complex<_Tp>&)’
421 | operator/(const complex<_Tp>& __x, const complex&l