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_21936759_15840.cpp:1:1: error: 'vector' does not name a type
 vector<int> ve[N];
 ^
0_0_21936759_15840.cpp:2:9: error: 'N' was not declared in this scope
 int son[N][2];
         ^
0_0_21936759_15840.cpp:3:9: error: 'N' was not declared in this scope
 int num[N];
         ^
0_0_21936759_15840.cpp:4:7: error: 'N' was not declared in this scope
 int p[N],mp[N];
       ^
0_0_21936759_15840.cpp:4:13: error: 'N' was not declared in this scope
 int p[N],mp[N];
             ^
0_0_21936759_15840.cpp:5:1: error: 'll' does not name a type
 ll ans[N];
 ^
0_0_21936759_15840.cpp:6:1: error: 'll' does not name a type
 ll sum;
 ^
0_0_21936759_15840.cpp:7:1: error: 'll' does not name a type
 ll bnum[N],bsum[N];
 ^
0_0_21936759_15840.cpp: In function 'void get(int&)':
0_0_21936759_15840.cpp:12:15: error: 'scanf' was not declared in this scope
  scanf("%d",&x);
               ^
0_0_21936759_15840.cpp:15:17: error: 'getchar' was not declared in this scope
  char c=getchar();
                 ^
0_0_21936759_15840.cpp:16:18: error: 'isdigit' was not declared in this scope
  while(!isdigit(c))c=getchar();
                  ^
0_0_21936759_15840.cpp:17:17: error: 'isdigit' was not declared in this scope
  while(isdigit(c))
                 ^
0_0_21936759_15840.cpp: At global scope:
0_0_21936759_15840.cpp:24:10: error: variable or field 'put' declared void
 void put(ll x)
          ^
0_0_21936759_15840.cpp:24:10: error: 'll' was not declared in this scope
0_0_21936759_15840.cpp: In function 'bool cmp(int, int)':
0_0_21936759_15840.cpp:34:9: error: 'a' was not declared in this scope
  return a[x]<a[y];
         ^
0_0_21936759_15840.cpp: In function 'void dfs(int, int)':
0_0_21936759_15840.cpp:41:2: error: 'son' was not declared in this scope
  son[x][0]=son[x][1]=0;
  ^
0_0_21936759_15840.cpp:42:2: error: 'num' was not declared in this scope
  num[x]=1;
  ^
0_0_21936759_15840.cpp:43:16: error: 've' was not declared in this scope
  for(int i=0;i<ve[x].size();i++)
                ^
0_0_21936759_15840.cpp:52:27: error: 'swap' was not declared in this scope
   swap(son[x][0],son[x][1]);
                           ^
0_0_21936759_15840.cpp: In function 'void cls()':
0_0_21936759_15840.cpp:57:2: error: 'sum' was not declared in this scope
  sum=0;
  ^
0_0_21936759_15840.cpp:58:9: error: 'bnum' was not declared in this scope
  memset(bnum,0,sizeof(ll)*(n+5));
         ^
0_0_21936759_15840.cpp:58:23: error: 'll' was not declared in this scope
  memset(bnum,0,sizeof(ll)*(n+5));
                       ^
0_0_21936759_15840.cpp:58:28: error: 'n' was not declared in this scope
  memset(bnum,0,sizeof(ll)*(n+5));
                            ^
0_0_21936759_15840.cpp:58:32: error: 'memset' was not declared in this scope
  memset(bnum,0,sizeof(ll)*(n+5));
                                ^
0_0_21936759_15840.cpp:59:9: error: 'bsum' was not declared in this scope
  memset(bsum,0,sizeof(ll)*(n+5));
         ^
0_0_21936759_15840.cpp: At global scope:
0_0_21936759_15840.cpp:62:1: error: 'll' does not name a type
 ll que(ll *a,int x)
 ^
0_0_21936759_15840.cpp:73:10: error: variable or field 'upd' declared void
 void upd(ll *a,int x,ll v)
          ^
0_0_21936759_15840.cpp:73:10: error: 'll' was not declared in this scope
0_0_21936759_15840.cpp:73:14: error: 'a' was not declared in this scope
 void upd(ll *a,int x,ll v)
              ^
0_0_21936759_15840.cpp:73:16: error: expected primary-expression before 'int'
 void upd(ll *a,int x,ll v)
                ^
0_0_21936759_15840.cpp:73:22: error: 'll' was not declared in this scope
 void upd(ll *a,int x,ll v)
                      ^


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-22 17:07:36, Gzip enabled