Problem wrongreverse
User jambusk
Submission Time 2025-06-20 14:01:59
Score 0
Max Time N/A
Max Memory N/A

Compile Error

wrongreverse.cpp: In function ‘int main()’:
wrongreverse.cpp:14:10: error: could not convert ‘std::literals::complex_literals::operator""i(2).std::complex<double>::operator=((double)(n + 1))’ from ‘std::complex<double>’ to ‘bool’
14 | if (2i = n + 1){
| ~~~^~~~~~~
| |
| std::complex<double>
wrongreverse.cpp:30:1: error: expected ‘}’ at end of input
30 | }
| ^
wrongreverse.cpp:4:15: note: to match this ‘{’
4 | signed main() {
| ^