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_36614576_23987.cpp:11:26: error: 'acos' was not declared in this scope
 const double PI=acos(-1.0);
                          ^
0_0_36614576_23987.cpp: In member function 'void Aho::Trie::reset()':
0_0_36614576_23987.cpp:5:48: error: 'memset' was not declared in this scope
 #define CLR(arr,val) memset(arr,val,sizeof(arr))
                                                ^
0_0_36614576_23987.cpp:22:13: note: in expansion of macro 'CLR'
             CLR(nxt,0);
             ^
0_0_36614576_23987.cpp: In member function 'void Aho::insert(char*)':
0_0_36614576_23987.cpp:37:25: error: 'strlen' was not declared in this scope
         int len=strlen(s);
                         ^
0_0_36614576_23987.cpp: In member function 'void Aho::build()':
0_0_36614576_23987.cpp:55:9: error: 'queue' was not declared in this scope
         queue<int>Q;
         ^
0_0_36614576_23987.cpp:55:15: error: expected primary-expression before 'int'
         queue<int>Q;
               ^
0_0_36614576_23987.cpp:56:9: error: 'Q' was not declared in this scope
         Q.push(0);
         ^
0_0_36614576_23987.cpp: In member function 'int Aho::solve(char*)':
0_0_36614576_23987.cpp:100:25: error: 'strlen' was not declared in this scope
         int len=strlen(s);
                         ^
0_0_36614576_23987.cpp: In function 'int main()':
0_0_36614576_23987.cpp:5:48: error: 'memset' was not declared in this scope
 #define CLR(arr,val) memset(arr,val,sizeof(arr))
                                                ^
0_0_36614576_23987.cpp:133:9: note: in expansion of macro 'CLR'
         CLR(tar,0);//就是这里要清空一下
         ^
0_0_36614576_23987.cpp:143:28: error: 'strlen' was not declared in this scope
         int len=strlen(temp);
                            ^
0_0_36614576_23987.cpp:166:28: error: 'reverse' was not declared in this scope
         reverse(tar,tar+cnt);
                            ^


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-06-18 19:36:32, Gzip enabled