0_0_39798052_31192.cpp: In function 'int main()':
0_0_39798052_31192.cpp:81:66: error: '__gnu_cxx::__alloc_traits<std::allocator<std::complex<double> >, std::complex<double> >::value_type' {aka 'class std::complex<double>'} has no member named 'x'
81 | for (int i = 0; i < len; i++) sum[i] = int(x1[i].x + 0.5);
| ^
|