0_0_37815431_12002.cpp: In function 'void solve()':
0_0_37815431_12002.cpp:22:13: error: missing template arguments before 'a1'
complex a1 = a[4];
^
0_0_37815431_12002.cpp:23:13: error: missing template arguments before 'a2'
complex a2 = a[2];
^
0_0_37815431_12002.cpp:24:13: error: missing template arguments before 'b1'
complex b1 = b[4];
^
0_0_37815431_12002.cpp:25:13: error: missing template arguments before 'b2'
complex b2 = b[2];
^
0_0_37815431_12002.cpp:26:13: error: missing template arguments before 't'
complex t = (a1*b2-b1*a2)/(a1-a2);
^
0_0_37815431_12002.cpp:27:13: error: missing template arguments before 'r'
complex r = (b1-b2)/(a1-a2);
^
0_0_37815431_12002.cpp:28:13: error: missing template arguments before 'x'
complex x = t/(complex(1.0,0.0)-r);
^
0_0_37815431_12002.cpp:29:44: error: request for member 'real' in 'x', which is of non-class type 'long long int'
cout << fixed << setprecision(10) << x.real() << " " << x.imag() << endl;
^
0_0_37815431_12002.cpp:29:63: error: request for member 'imag' in 'x', which is of non-class type 'long long int'
cout << fixed << setprecision(10) << x.real() << " " << x.imag() << endl;
^
|