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_27479734_21328.cpp:31:1: error: 'vector' does not name a type
 vector<Data> data;
 ^
0_0_27479734_21328.cpp:32:1: error: 'vector' does not name a type
 vector<int> gragh[MAXN];
 ^
0_0_27479734_21328.cpp: In function 'bool explode(Data&, Data&)':
0_0_27479734_21328.cpp:40:2: error: 'LL' was not declared in this scope
  LL rad = cas.r * cas.r;
  ^
0_0_27479734_21328.cpp:41:5: error: expected ';' before 'x'
  LL x = cas.x - rev.x;
     ^
0_0_27479734_21328.cpp:42:5: error: expected ';' before 'y'
  LL y = cas.y - rev.y;
     ^
0_0_27479734_21328.cpp:43:5: error: expected ';' before 'dis'
  LL dis = x * x + y * y;
     ^
0_0_27479734_21328.cpp:44:5: error: 'dis' was not declared in this scope
  if(dis > rad)
     ^
0_0_27479734_21328.cpp:44:11: error: 'rad' was not declared in this scope
  if(dis > rad)
           ^
0_0_27479734_21328.cpp: In function 'int dfs(int)':
0_0_27479734_21328.cpp:56:8: error: 'data' was not declared in this scope
  ans = data[pos].c;
        ^
0_0_27479734_21328.cpp:58:13: error: 'gragh' was not declared in this scope
  int loop = gragh[pos].size();
             ^
0_0_27479734_21328.cpp: In function 'int main()':
0_0_27479734_21328.cpp:70:16: error: 'scanf' was not declared in this scope
  scanf("%d", &T);
                ^
0_0_27479734_21328.cpp:73:6: error: 'data' was not declared in this scope
      data.clear();
      ^
0_0_27479734_21328.cpp:76:7: error: 'gragh' was not declared in this scope
       gragh[i].clear();
       ^
0_0_27479734_21328.cpp:85:35: error: 'memset' was not declared in this scope
   memset(mcount, 0, sizeof(mcount));
                                   ^
0_0_27479734_21328.cpp:94:6: error: 'gragh' was not declared in this scope
      gragh[i].push_back(j);
      ^
0_0_27479734_21328.cpp:103:26: error: 'sort' was not declared in this scope
   sort(degree, degree + N);
                          ^
0_0_27479734_21328.cpp:113:3: error: 'cout' was not declared in this scope
   cout<<ANS<<endl;
   ^
0_0_27479734_21328.cpp:113:14: error: 'endl' was not declared in this scope
   cout<<ANS<<endl;
              ^


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-24 17:31:12, Gzip enabled