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_36801640_19568.cpp: In function 'void MAIN::FWT_and(int*, const int&)':
0_0_36801640_19568.cpp:77:90: error: 'add' was not declared in this scope
         for(res mid=1;mid<lim;mid<<=1)for(res i=0;i<lim;i++)if(!(i&mid))add(A[i],A[i^mid]);
                                                                                          ^
0_0_36801640_19568.cpp: In function 'void MAIN::MAIN()':
0_0_36801640_19568.cpp:82:58: error: 'Add' was not declared in this scope
         for(res i=1;i<=N-10;i++)pw[i]=Add(pw[i-1],pw[i-1]);
                                                          ^
0_0_36801640_19568.cpp:93:64: error: 'mul' was not declared in this scope
             for(res i=0;i<sz;i++)add(ret,mul(mul(d[i],pw[pc(i)]),qpow(b[i])));
                                                                ^
0_0_36801640_19568.cpp:93:75: error: 'qpow' was not declared in this scope
             for(res i=0;i<sz;i++)add(ret,mul(mul(d[i],pw[pc(i)]),qpow(b[i])));
                                                                           ^
0_0_36801640_19568.cpp:93:76: error: 'mul' was not declared in this scope
             for(res i=0;i<sz;i++)add(ret,mul(mul(d[i],pw[pc(i)]),qpow(b[i])));
                                                                            ^
0_0_36801640_19568.cpp:93:76: error: redeclaration of '<typeprefixerror>mul'
0_0_36801640_19568.cpp:93:64: note: previous declaration '<typeprefixerror>mul'
             for(res i=0;i<sz;i++)add(ret,mul(mul(d[i],pw[pc(i)]),qpow(b[i])));
                                                                ^
0_0_36801640_19568.cpp:93:77: error: 'add' was not declared in this scope
             for(res i=0;i<sz;i++)add(ret,mul(mul(d[i],pw[pc(i)]),qpow(b[i])));
                                                                             ^


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 07:16:00, Gzip enabled