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_26586416_23310.cpp:27:22: error: unable to find numeric literal operator 'operator""a'
 const int maxn=10000+100a;
                      ^
0_0_26586416_23310.cpp:27:22: note: use -std=gnu++11 or -fext-numeric-literals to enable more built-in suffixes
0_0_26586416_23310.cpp:28:11: error: size of array 'a' is not an integral constant-expression
 int a[maxn];
           ^
0_0_26586416_23310.cpp: In function 'void init()':
0_0_26586416_23310.cpp:44:9: error: 'trie' was not declared in this scope
         trie[i].nxt[0]=0;
         ^
0_0_26586416_23310.cpp: In function 'void insert(int)':
0_0_26586416_23310.cpp:53:5: error: 'trie' was not declared in this scope
     trie[root].size++;
     ^
0_0_26586416_23310.cpp: In function 'void del(int)':
0_0_26586416_23310.cpp:72:5: error: 'trie' was not declared in this scope
     trie[root].size--;
     ^
0_0_26586416_23310.cpp: In function 'int find(int)':
0_0_26586416_23310.cpp:94:16: error: 'trie' was not declared in this scope
             if(trie[trie[root].nxt[0]].size&&trie[root].nxt[0])
                ^
0_0_26586416_23310.cpp:106:16: error: 'trie' was not declared in this scope
             if(trie[trie[root].nxt[0]].size&&trie[root].nxt[0])
                ^


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-03 19:30:03, Gzip enabled