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_33464511_13521.cpp:9:11: error: 'MAX' was not declared in this scope
 Trie tree[MAX];
           ^
0_0_33464511_13521.cpp: In function 'void Clear()':
0_0_33464511_13521.cpp:14:5: error: 'tree' was not declared in this scope
     tree[nodes].cnt = 0;
     ^
0_0_33464511_13521.cpp: In function 'void insert_word(int)':
0_0_33464511_13521.cpp:33:16: error: 'tree' was not declared in this scope
             if(tree[cur].ch[c] == -1)
                ^
0_0_33464511_13521.cpp:35:19: error: 'tree' was not declared in this scope
             cur = tree[cur].ch[c];
                   ^
0_0_33464511_13521.cpp: In function 'int search_it()':
0_0_33464511_13521.cpp:50:12: error: 'tree' was not declared in this scope
         if(tree[cur].ch[id]==-1)
            ^
0_0_33464511_13521.cpp:54:14: error: 'tree' was not declared in this scope
         cur= tree[cur].ch[id];
              ^
0_0_33464511_13521.cpp:56:12: error: 'tree' was not declared in this scope
     return tree[cur].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-12-02 04:44:56, Gzip enabled