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_32286956_6440.cpp: In function 'void Build()':
0_0_32286956_6440.cpp:4:12: error: 'head' was not declared in this scope
     memset(head,-1,sizeof(head));ecnt=0;
            ^
0_0_32286956_6440.cpp:4:32: error: 'memset' was not declared in this scope
     memset(head,-1,sizeof(head));ecnt=0;
                                ^
0_0_32286956_6440.cpp:4:34: error: 'ecnt' was not declared in this scope
     memset(head,-1,sizeof(head));ecnt=0;
                                  ^
0_0_32286956_6440.cpp:5:16: error: 'Q' was not declared in this scope
     for(i=1;i<=Q;i++)
                ^
0_0_32286956_6440.cpp:9:15: error: 'node' was not declared in this scope
             u=node[i].p;
               ^
0_0_32286956_6440.cpp:13:27: error: 'Insert' was not declared in this scope
                 Insert(i,j);
                           ^
0_0_32286956_6440.cpp:16:16: error: 'map' was not declared in this scope
             if(map[u][v]==-1) continue;
                ^
0_0_32286956_6440.cpp:17:39: error: 'map' was not declared in this scope
             if((node[j].t-node[i].t)>=map[u][v])
                                       ^
0_0_32286956_6440.cpp:18:27: error: 'Insert' was not declared in this scope
                 Insert(i,j);
                           ^


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-05-19 19:46:28, Gzip enabled