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_19956285_22721.cpp: In function 'void ctree(char*)':
0_0_19956285_22721.cpp:27:23: error: comparison between distinct pointer types 'char*' and 'node*' lacks a cast [-fpermissive]
    p->next[id]==Nnode();
                       ^
0_0_19956285_22721.cpp:29:4: error: cannot convert 'char*' to 'node*' in assignment
   p=p->next[id];
    ^
0_0_19956285_22721.cpp: In function 'int find(char*)':
0_0_19956285_22721.cpp:41:4: error: cannot convert 'char*' to 'node*' in assignment
   p=p->next[id];
    ^
0_0_19956285_22721.cpp:51:7: error: cannot convert 'char*' to 'node*' in assignment
     p = p->next[z];         
       ^


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-17 05:55:45, Gzip enabled