Problem mountainjourney2
User jaydenlol
Submission Time 2026-06-26 16:34:47
Score 0
Max Time N/A
Max Memory N/A

Compile Error

mountainjourney2.cpp: In function ‘int main()’:
mountainjourney2.cpp:27:12: error: no match for ‘operator/’ (operand types are ‘std::vector<long long int>’ and ‘long long int’)
27 | cout << A/N;
| ~^~
| | |
| | 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 mountainjourney2.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: template argument deduction/substitution failed:
mountainjourney2.cpp:27:13: note: ‘std::vector<long long i