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_26476884_1523.cpp:75:1: error: expected ',' or ';' before 'complex'
 complex a[maxn], b[maxn];
 ^
0_0_26476884_1523.cpp: In function 'int main()':
0_0_26476884_1523.cpp:90:7: error: 'a' was not declared in this scope
       a[i] = complex(0.0,0.0);
       ^
0_0_26476884_1523.cpp:91:7: error: 'b' was not declared in this scope
       b[i] = complex(0.0, 0.0);
       ^
0_0_26476884_1523.cpp:97:23: error: 'a' was not declared in this scope
         scanf("%lf", &a[i*M+j].r);
                       ^
0_0_26476884_1523.cpp:107:11: error: 'b' was not declared in this scope
           b[(i+R)*M + j+R] =complex( (1.0)/(d+1.0), 0.0);
           ^
0_0_26476884_1523.cpp:111:9: error: 'a' was not declared in this scope
     fft(a, len, 1);
         ^
0_0_26476884_1523.cpp:112:9: error: 'b' was not declared in this scope
     fft(b, len, 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-07-09 02:31:20, Gzip enabled