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_36936868_15818.cpp:17:5: error: 'M' was not declared in this scope
 } p[M];
     ^
0_0_36936868_15818.cpp: In function 'bool cmp(int, int)':
0_0_36936868_15818.cpp:24:12: error: 'p' was not declared in this scope
     return p[a].a > p[a].b;
            ^
0_0_36936868_15818.cpp: In function 'int find(int, int)':
0_0_36936868_15818.cpp:37:29: error: 'p' was not declared in this scope
     if (deg[x] == 0 || y >= p[son[x][0]].a) return st[x];
                             ^
0_0_36936868_15818.cpp:41:13: error: 'p' was not declared in this scope
         if (p[son[x][mid]].a > y) l = mid;
             ^
0_0_36936868_15818.cpp: In function 'int main()':
0_0_36936868_15818.cpp:73:35: error: 'p' was not declared in this scope
             scanf("%d %d %d %d", &p[i].x, &p[i].y, &p[i].a, &p[i].b);
                                   ^
0_0_36936868_15818.cpp:90:31: error: 'p' was not declared in this scope
                 int  y = find(p[id].y, p[id].a);
                               ^


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-09-30 11:02:14, Gzip enabled