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_26476877_19603.cpp: In function 'void change(complex*, int)':
0_0_26476877_19603.cpp:32:32: error: 'swap' was not declared in this scope
         if(i < j)swap(y[i],y[j]);
                                ^
0_0_26476877_19603.cpp: At global scope:
0_0_26476877_19603.cpp:73:1: error: expected ',' or ';' before 'complex'
 complex a[maxn], b[maxn];
 ^
0_0_26476877_19603.cpp: In function 'int main()':
0_0_26476877_19603.cpp:88:7: error: 'a' was not declared in this scope
       a[i] = complex(0.0,0.0);
       ^
0_0_26476877_19603.cpp:89:7: error: 'b' was not declared in this scope
       b[i] = complex(0.0, 0.0);
       ^
0_0_26476877_19603.cpp:95:23: error: 'a' was not declared in this scope
         scanf("%lf", &a[i*M+j].r);
                       ^
0_0_26476877_19603.cpp:105: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_26476877_19603.cpp:109:9: error: 'a' was not declared in this scope
     fft(a, len, 1);
         ^
0_0_26476877_19603.cpp:110:9: error: 'b' was not declared in this scope
     fft(b, len, 1);
         ^
0_0_26476877_19603.cpp:118:38: error: 'max' was not declared in this scope
       ans = max(ans, a[(i+R)*M+j+R].r);
                                      ^


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 01:36:27, Gzip enabled