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_17419385_57.cpp: In function 'Bin_Tree* parse_buf(ssize_t, ssize_t, Bin_Tree*, Bin_Tree*)':
0_0_17419385_57.cpp:52:29: error: invalid conversion from 'void*' to 'Bin_Tree*' [-fpermissive]
   root = malloc(sizeof *root);
                             ^
0_0_17419385_57.cpp:57:18: error: 'isalpha' was not declared in this scope
    if (isalpha(ch) || isdigit(ch) || ch == '_')
                  ^
0_0_17419385_57.cpp:57:33: error: 'isdigit' was not declared in this scope
    if (isalpha(ch) || isdigit(ch) || ch == '_')
                                 ^


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-30 00:00:31, Gzip enabled