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_29632650_9367.cpp:10:1: error: expected ',' or ';' before 'struct'
 struct Node{
 ^
0_0_29632650_9367.cpp:13:1: error: 'Node' does not name a type
 Node data[M];
 ^
0_0_29632650_9367.cpp:24:1: error: 'Node' does not name a type
 Node data2[M];
 ^
0_0_29632650_9367.cpp: In function 'int main()':
0_0_29632650_9367.cpp:67:5: error: 'data' was not declared in this scope
     data[num].a=y;
     ^
0_0_29632650_9367.cpp:72:5: error: 'data' was not declared in this scope
     data[num].a=x;
     ^
0_0_29632650_9367.cpp:84:16: error: 'data' was not declared in this scope
    int x1=root(data[i].a);
                ^
0_0_29632650_9367.cpp:94:4: error: 'data' was not declared in this scope
    data[i].a=root(data[i].a);
    ^
0_0_29632650_9367.cpp:100:8: error: 'data' was not declared in this scope
     if(data[i].a>data[j].a)
        ^
0_0_29632650_9367.cpp:109:8: error: 'data' was not declared in this scope
     if(data[i].b==data[j].b&&data[i].b>data[j].b)
        ^
0_0_29632650_9367.cpp:122:8: error: 'data' was not declared in this scope
     if(data[i].a!=data[j].a)
        ^
0_0_29632650_9367.cpp:124:6: error: 'data2' was not declared in this scope
      data2[s].a=data[i].a;
      ^
0_0_29632650_9367.cpp:139:11: error: 'data2' was not declared in this scope
    insert(data2[i].b,data2[i].a);
           ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2025 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2025-02-18 20:40:59, Gzip enabled