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_33700439_1915.cpp: In function 'void addedges1(int)':
0_0_33700439_1915.cpp:5:7: error: 'nd' was not declared in this scope
  sort(nd + 1, nd + n + 1, [&](Nd u, Nd v){ return u.x < v.x; });
       ^
0_0_33700439_1915.cpp:5:20: error: 'n' was not declared in this scope
  sort(nd + 1, nd + n + 1, [&](Nd u, Nd v){ return u.x < v.x; });
                    ^
0_0_33700439_1915.cpp:5:31: error: 'Nd' has not been declared
  sort(nd + 1, nd + n + 1, [&](Nd u, Nd v){ return u.x < v.x; });
                               ^
0_0_33700439_1915.cpp:5:37: error: 'Nd' has not been declared
  sort(nd + 1, nd + n + 1, [&](Nd u, Nd v){ return u.x < v.x; });
                                     ^
0_0_33700439_1915.cpp: In lambda function:
0_0_33700439_1915.cpp:5:53: error: request for member 'x' in 'u', which is of non-class type 'int'
  sort(nd + 1, nd + n + 1, [&](Nd u, Nd v){ return u.x < v.x; });
                                                     ^
0_0_33700439_1915.cpp:5:59: error: request for member 'x' in 'v', which is of non-class type 'int'
  sort(nd + 1, nd + n + 1, [&](Nd u, Nd v){ return u.x < v.x; });
                                                           ^
0_0_33700439_1915.cpp: In function 'void addedges1(int)':
0_0_33700439_1915.cpp:6:2: error: 'id' was not declared in this scope
  id[0] = 0;
  ^
0_0_33700439_1915.cpp:11:3: error: 'tx' was not declared in this scope
   tx.link(nd[i].sel, l, i - 1, 0, 1, n, tx.root[0]);
   ^
0_0_33700439_1915.cpp: In function 'void addedges2(int)':
0_0_33700439_1915.cpp:19:7: error: 'nd' was not declared in this scope
  sort(nd + 1, nd + n + 1, [&](Nd u, Nd v){ return u.y < v.y; });
       ^
0_0_33700439_1915.cpp:19:20: error: 'n' was not declared in this scope
  sort(nd + 1, nd + n + 1, [&](Nd u, Nd v){ return u.y < v.y; });
                    ^
0_0_33700439_1915.cpp:19:31: error: 'Nd' has not been declared
  sort(nd + 1, nd + n + 1, [&](Nd u, Nd v){ return u.y < v.y; });
                               ^
0_0_33700439_1915.cpp:19:37: error: 'Nd' has not been declared
  sort(nd + 1, nd + n + 1, [&](Nd u, Nd v){ return u.y < v.y; });
                                     ^
0_0_33700439_1915.cpp: In lambda function:
0_0_33700439_1915.cpp:19:53: error: request for member 'y' in 'u', which is of non-class type 'int'
  sort(nd + 1, nd + n + 1, [&](Nd u, Nd v){ return u.y < v.y; });
                                                     ^
0_0_33700439_1915.cpp:19:59: error: request for member 'y' in 'v', which is of non-class type 'int'
  sort(nd + 1, nd + n + 1, [&](Nd u, Nd v){ return u.y < v.y; });
                                                           ^
0_0_33700439_1915.cpp: In function 'void addedges2(int)':
0_0_33700439_1915.cpp:20:2: error: 'id' was not declared in this scope
  id[0] = 0;
  ^
0_0_33700439_1915.cpp:28:3: error: 'ty' was not declared in this scope
   ty.link(nd[i].sel, i + 1, r, 0, 1, n, ty.root[0]);
   ^
0_0_33700439_1915.cpp: In function 'void addedges3()':
0_0_33700439_1915.cpp:34:29: error: 'm' was not declared in this scope
  for (int i = 1, u, v; i <= m; i ++) {
                             ^
0_0_33700439_1915.cpp:35:12: error: 'team' was not declared in this scope
   int sz = team[i].size();
            ^
0_0_33700439_1915.cpp:38:4: error: 'g' was not declared in this scope
    g[nd[u].sel].push_back(nd[v].rev);
    ^
0_0_33700439_1915.cpp:38:6: error: 'nd' was not declared in this scope
    g[nd[u].sel].push_back(nd[v].rev);
      ^
0_0_33700439_1915.cpp: In function 'int main()':
0_0_33700439_1915.cpp:50:22: error: 'n' was not declared in this scope
   scanf("%d%d%d%d", &n, &m, &dx, &dy);
                      ^
0_0_33700439_1915.cpp:50:26: error: 'm' was not declared in this scope
   scanf("%d%d%d%d", &n, &m, &dx, &dy);
                          ^
0_0_33700439_1915.cpp:50:30: error: 'dx' was not declared in this scope
   scanf("%d%d%d%d", &n, &m, &dx, &dy);
                              ^
0_0_33700439_1915.cpp:50:35: error: 'dy' was not declared in this scope
   scanf("%d%d%d%d", &n, &m, &dx, &dy);
                                   ^
0_0_33700439_1915.cpp:51:3: error: 'k' was not declared in this scope
   k = n << 1; ndc = 0;
   ^
0_0_33700439_1915.cpp:51:15: error: 'ndc' was not declared in this scope
   k = n << 1; ndc = 0;
               ^
0_0_33700439_1915.cpp:54:4: error: 'nd' was not declared in this scope
    nd[i] = { x, y, ndc + 1, ndc + 2 };
    ^
0_0_33700439_1915.cpp:55:4: error: 'team' was not declared in this scope
    team[z].push_back(i);
    ^
0_0_33700439_1915.cpp:59:9: error: 'build' was not declared in this scope
   build();
         ^


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-01-11 00:22:31, Gzip enabled