Problem | goodprogrammer |
---|---|
User | jeongwonho64 |
Submission Time | 2023-03-31 20:57:11 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
goodprogrammer.cpp: In function ‘int main()’:
goodprogrammer.cpp:11:26: error: no match for ‘operator*’ (operand types are ‘int’ and ‘std::string’ {aka ‘std::__cxx11::basic_string<char>’})
11 | cout<<"wabbit"<<(i == 3*s - 1 ? "" : " ");
| ~^~
| | |
| | std::string {aka std::__cxx11::basic_string<char>}
| 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 goodprogrammer.cpp:1:
/usr/include/c++/9/complex:391:5: note: candidate: ‘template<class _Tp> std::complex<_Tp> std::operator*(const std::complex<_Tp>&, const std::complex<_Tp>&)’
391 | operator*(const complex<_Tp>& __x, const complex<_Tp>& __y)
| ^~~~~~~~
/usr/include/c++/9/complex:391:5: note: