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_23145858_20310.cpp: In member function 'void FFT::fft(int*, int*, int, int)':
0_0_23145858_20310.cpp:34:28: error: lvalue required as left operand of assignment
   a1[i].real()=b1[i].real()=0,
                            ^
0_0_23145858_20310.cpp:35:28: error: lvalue required as left operand of assignment
   a1[i].imag()=b1[i].imag()=0;
                            ^
0_0_23145858_20310.cpp:36:40: error: lvalue required as left operand of assignment
   for(int i=l;i<=mid;++i)a1[i-l].real()=c[i];
                                        ^
0_0_23145858_20310.cpp:37:38: error: lvalue required as left operand of assignment
   for(int i=0;i<=r-l;++i)b1[i].real()=d[i+1];
                                      ^


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-10-07 03:18:54, Gzip enabled