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_22897494_13762.cpp: In function 'Complex* FFT(Complex*, int, int)':
0_0_22897494_13762.cpp:121:18: error: lvalue required as left operand of assignment
         wn.real()=cos(TYPE*2*PI/((double)m));
                  ^
0_0_22897494_13762.cpp:122:18: error: lvalue required as left operand of assignment
         wn.imag()=sin(TYPE*2*PI/((double)m));
                  ^
0_0_22897494_13762.cpp:126:21: error: lvalue required as left operand of assignment
             w.real()=1;
                     ^
0_0_22897494_13762.cpp:127:21: error: lvalue required as left operand of assignment
             w.imag()=0;
                     ^
0_0_22897494_13762.cpp:142:24: error: lvalue required as left operand of assignment
             C[i].real()/=(double)(len+1);
                        ^
0_0_22897494_13762.cpp:143:24: error: lvalue required as left operand of assignment
             C[i].imag()/=(double)(len+1);
                        ^
0_0_22897494_13762.cpp: In function 'Bigint operator*(Bigint, Bigint)':
0_0_22897494_13762.cpp:191:21: error: lvalue required as left operand of assignment
         AA[p].real()=a.a[p];
                     ^
0_0_22897494_13762.cpp:192:21: error: lvalue required as left operand of assignment
         AA[p].imag()=0;
                     ^
0_0_22897494_13762.cpp:196:21: error: lvalue required as left operand of assignment
         AA[p].real()=a.a[p];
                     ^
0_0_22897494_13762.cpp:197:21: error: lvalue required as left operand of assignment
         AA[p].imag()=0;
                     ^
0_0_22897494_13762.cpp:202:21: error: lvalue required as left operand of assignment
         BB[p].real()=b.a[p];
                     ^
0_0_22897494_13762.cpp:203:21: error: lvalue required as left operand of assignment
         BB[p].imag()=0;
                     ^
0_0_22897494_13762.cpp:207:21: error: lvalue required as left operand of assignment
         BB[p].real()=b.a[p];
                     ^
0_0_22897494_13762.cpp:208: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:49:40, Gzip enabled