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_35953677_21456.cpp: In function 'void init()':
0_0_35953677_21456.cpp:9:55: error: 'memset' was not declared in this scope
     memset(fatherRootNumber,0,sizeof(fatherRootNumber));
                                                       ^
0_0_35953677_21456.cpp: In function 'int main()':
0_0_35953677_21456.cpp:39:30: error: 'scanf' was not declared in this scope
     while(scanf("%d %d",&a,&b) != EOF && (a >= 0) && (b >= 0))
                              ^
0_0_35953677_21456.cpp:39:35: error: 'EOF' was not declared in this scope
     while(scanf("%d %d",&a,&b) != EOF && (a >= 0) && (b >= 0))
                                   ^
0_0_35953677_21456.cpp:58:50: error: 'printf' was not declared in this scope
                 printf("Case %d is a tree.\n",k++);
                                                  ^
0_0_35953677_21456.cpp:60:54: error: 'printf' was not declared in this scope
                 printf("Case %d is not a tree.\n",k++);
                                                      ^


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-16 18:05:22, Gzip enabled