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_36605630_21409.cpp:9:8: error: 'MAX_AB' was not declared in this scope
 Virt a[MAX_AB], b[MAX_AB];
        ^
0_0_36605630_21409.cpp:9:19: error: 'MAX_AB' was not declared in this scope
 Virt a[MAX_AB], b[MAX_AB];
                   ^
0_0_36605630_21409.cpp:15:16: error: 'MAX_FFT' was not declared in this scope
     int l, rev[MAX_FFT];
                ^
0_0_36605630_21409.cpp:14:26: error: 'acos' was not declared in this scope
     double Pi = acos(-1.0);
                          ^
0_0_36605630_21409.cpp: In member function 'void FFT::init(int)':
0_0_36605630_21409.cpp:22:13: error: 'rev' was not declared in this scope
             rev[i] = (rev[i >> 1] >> 1) | ((i & 1) << (l - 1));
             ^
0_0_36605630_21409.cpp: In member function 'void FFT::fast_fast_tle(Virt*, int)':
0_0_36605630_21409.cpp:32:21: error: 'rev' was not declared in this scope
             if (i < rev[i]) swap(A[i], A[rev[i]]);//求出要迭代的序列
                     ^
0_0_36605630_21409.cpp:32:49: error: 'swap' was not declared in this scope
             if (i < rev[i]) swap(A[i], A[rev[i]]);//求出要迭代的序列
                                                 ^
0_0_36605630_21409.cpp:36:33: error: 'cos' was not declared in this scope
             Virt Wn(cos(Pi / mid), type * sin(Pi / mid)); //单位根
                                 ^
0_0_36605630_21409.cpp:36:55: error: 'sin' was not declared in this scope
             Virt Wn(cos(Pi / mid), type * sin(Pi / mid)); //单位根
                                                       ^
0_0_36605630_21409.cpp:48:56: error: 'a' was not declared in this scope
         if (type == -1)for (int i = 0; i <= limit; i++)a[i].x = (long long)(a[i].x / limit + 0.5);
                                                        ^


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-05 19:01:59, Gzip enabled