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_39873885_17016.cpp: In function 'void delet()':
0_0_39873885_17016.cpp:31:17: error: 's' was not declared in this scope; did you mean 'ls'?
   31 |         int ls= s.size(),root=0,k=src(s);
      |                 ^
      |                 ls
0_0_39873885_17016.cpp:34:26: error: 'root' was not declared in this scope
   34 |                 sum[trie[root][id]]-=k;
      |                          ^~~~
0_0_39873885_17016.cpp:34:38: error: 'k' was not declared in this scope
   34 |                 sum[trie[root][id]]-=k;
      |                                      ^
0_0_39873885_17016.cpp: In function 'int main()':
0_0_39873885_17016.cpp:50:30: error: too many arguments to function 'void delet()'
   50 |                         delet(y);
      |                         ~~~~~^~~
0_0_39873885_17016.cpp:30:6: note: declared here
   30 | void delet(){
      |      ^~~~~


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2025 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.001000(s) query 1, Server time : 2025-01-10 22:13:22, Gzip enabled