Problem ljubomora
User huangchengcheng
Submission Time 2026-07-17 14:21:44
Score 0
Max Time N/A
Max Memory N/A

Compile Error

ljubomora.cpp: In function ‘int main()’:
ljubomora.cpp:25:35: error: no match for ‘operator/’ (operand types are ‘std::vector<long long int>’ and ‘ll’ {aka ‘long long int’})
25 | tempcheck+=colours/cur_uplim;
| ~~~~~~~^~~~~~~~~~
| | |
| | ll {aka long long int}
| std::vector<long long 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 ljubomora.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<_Tp>& __y)
| ^~~~~~~~
/usr/include/c++/9/complex:421:5: note: