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_37792641_24054.cpp:66:9: error: 'N33' was not declared in this scope
 int tre[N33*][3];
         ^
0_0_37792641_24054.cpp:66:13: error: expected primary-expression before ']' token
 int tre[N33*][3];
             ^
0_0_37792641_24054.cpp: In function 'void init()':
0_0_37792641_24054.cpp:70:9: error: 'tre' was not declared in this scope
  memset(tre, 0, sizeof tre);
         ^
0_0_37792641_24054.cpp: In function 'void insert(int)':
0_0_37792641_24054.cpp:79:8: error: 'tre' was not declared in this scope
   if (!tre[p][t]) tre[p][t] = ++idx;
        ^
0_0_37792641_24054.cpp:80:7: error: 'tre' was not declared in this scope
   p = tre[p][t];
       ^
0_0_37792641_24054.cpp: In function 'int query(int)':
0_0_37792641_24054.cpp:90:7: error: 'tre' was not declared in this scope
   if (tre[p][!t])
       ^


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-10-07 00:23:10, Gzip enabled