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_23145861_6585.cpp: In member function 'void FFT::fft(int*, int*, int, int)':
0_0_23145861_6585.cpp:34:15: error: lvalue required as left operand of assignment
   a1[i].real()=0,b1[i].real()=0,
               ^
0_0_23145861_6585.cpp:34:30: error: lvalue required as left operand of assignment
   a1[i].real()=0,b1[i].real()=0,
                              ^
0_0_23145861_6585.cpp:35:15: error: lvalue required as left operand of assignment
   a1[i].imag()=0,b1[i].imag()=0;
               ^
0_0_23145861_6585.cpp:35:30: error: lvalue required as left operand of assignment
   a1[i].imag()=0,b1[i].imag()=0;
                              ^
0_0_23145861_6585.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_23145861_6585.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-11-26 21:32:34, Gzip enabled