F.A.Q
Hand In Hand
Online Acmers
Problem Archive
Realtime Judge Status
Authors Ranklist
 
     C/C++/Java Exams     
ACM Steps
Go to Job
Contest LiveCast
ICPC@China
Best Coder beta
VIP | STD Contests
    DIY | Web-DIY beta
Author ID 
Password 
 Register new ID

View Compilation Error

0_0_22897683_6145.cpp: In function 'Complex* FFT(Complex*, int, int)':
0_0_22897683_6145.cpp:122:18: error: lvalue required as left operand of assignment
         wn.real()=cos(TYPE*2*PI/((double)m));
                  ^
0_0_22897683_6145.cpp:123:18: error: lvalue required as left operand of assignment
         wn.imag()=sin(TYPE*2*PI/((double)m));
                  ^
0_0_22897683_6145.cpp:127:21: error: lvalue required as left operand of assignment
             w.real()=1;
                     ^
0_0_22897683_6145.cpp:128:21: error: lvalue required as left operand of assignment
             w.imag()=0;
                     ^
0_0_22897683_6145.cpp:143:24: error: lvalue required as left operand of assignment
             C[i].real()/=(double)(len+1);
                        ^
0_0_22897683_6145.cpp:144:24: error: lvalue required as left operand of assignment
             C[i].imag()/=(double)(len+1);
                        ^
0_0_22897683_6145.cpp: In function 'Bigint operator*(Bigint, Bigint)':
0_0_22897683_6145.cpp:192:21: error: lvalue required as left operand of assignment
         AA[p].real()=a.a[p];
                     ^
0_0_22897683_6145.cpp:193:21: error: lvalue required as left operand of assignment
         AA[p].imag()=0;
                     ^
0_0_22897683_6145.cpp:197:21: error: lvalue required as left operand of assignment
         AA[p].real()=a.a[p];
                     ^
0_0_22897683_6145.cpp:198:21: error: lvalue required as left operand of assignment
         AA[p].imag()=0;
                     ^
0_0_22897683_6145.cpp:203:21: error: lvalue required as left operand of assignment
         BB[p].real()=b.a[p];
                     ^
0_0_22897683_6145.cpp:204:21: error: lvalue required as left operand of assignment
         BB[p].imag()=0;
                     ^
0_0_22897683_6145.cpp:208:21: error: lvalue required as left operand of assignment
         BB[p].real()=b.a[p];
                     ^
0_0_22897683_6145.cpp:209:21: error: lvalue required as left operand of assignment
         BB[p].imag()=0;
                     ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2024 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2024-12-01 19:26:58, Gzip enabled