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_37448361_13648.cpp: In constructor 'node::node(bool, int, int)':
0_0_37448361_13648.cpp:11:37: error: 'memset' was not declared in this scope
     { memset(child, 0, sizeof(child)); }
                                     ^
0_0_37448361_13648.cpp: In function 'void Insert(const char*, int, int, int)':
0_0_37448361_13648.cpp:38:80: error: 'strncmp' was not declared in this scope
             if (strncmp(dict[index], dict[trie[trie[rt].child[m]].index], i + 1) < 0)
                                                                                ^
0_0_37448361_13648.cpp: In function 'int main()':
0_0_37448361_13648.cpp:92:37: error: 'memset' was not declared in this scope
         memset(prob, 0, sizeof(prob));
                                     ^
0_0_37448361_13648.cpp:96:39: error: 'strlen' was not declared in this scope
             int len = strlen(dict[i-1]);
                                       ^
0_0_37448361_13648.cpp:100:66: error: 'strncmp' was not declared in this scope
                 if (j < len && !strncmp(dict[i], dict[i-1], j + 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-11-22 18:26:05, Gzip enabled