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_38637939_6294.cpp:6:6: error: stray '\243' in program
 int n£¬hd[10010],nt[40040],to[40010],sz[10010],ct;
      ^
0_0_38637939_6294.cpp:6:7: error: stray '\254' in program
 int n£¬hd[10010],nt[40040],to[40010],sz[10010],ct;
       ^
0_0_38637939_6294.cpp:6:8: error: expected initializer before 'hd'
 int n£¬hd[10010],nt[40040],to[40010],sz[10010],ct;
        ^~
0_0_38637939_6294.cpp: In function 'void add(int, int)':
0_0_38637939_6294.cpp:11:2: error: 'nt' was not declared in this scope
  nt[++ct]=hd[x];
  ^~
0_0_38637939_6294.cpp:11:2: note: suggested alternative: 'int'
  nt[++ct]=hd[x];
  ^~
  int
0_0_38637939_6294.cpp:11:7: error: 'ct' was not declared in this scope
  nt[++ct]=hd[x];
       ^~
0_0_38637939_6294.cpp:11:7: note: suggested alternative: 'c'
  nt[++ct]=hd[x];
       ^~
       c
0_0_38637939_6294.cpp:11:11: error: 'hd' was not declared in this scope
  nt[++ct]=hd[x];
           ^~
0_0_38637939_6294.cpp:13:2: error: 'to' was not declared in this scope
  to[ct]=y;
  ^~
0_0_38637939_6294.cpp: In function 'void dfs(int, int)':
0_0_38637939_6294.cpp:18:12: error: 'hd' was not declared in this scope
  for(int i=hd[x];i;i=nt[i])
            ^~
0_0_38637939_6294.cpp:18:22: error: 'nt' was not declared in this scope
  for(int i=hd[x];i;i=nt[i])
                      ^~
0_0_38637939_6294.cpp:18:22: note: suggested alternative: 'int'
  for(int i=hd[x];i;i=nt[i])
                      ^~
                      int
0_0_38637939_6294.cpp:20:9: error: 'to' was not declared in this scope
   int v=to[i];
         ^~
0_0_38637939_6294.cpp:35:13: error: 'hd' was not declared in this scope
   for(int i=hd[x];i;i=nt[i])
             ^~
0_0_38637939_6294.cpp:35:13: note: suggested alternative: 'd'
   for(int i=hd[x];i;i=nt[i])
             ^~
             d
0_0_38637939_6294.cpp:35:23: error: 'nt' was not declared in this scope
   for(int i=hd[x];i;i=nt[i])
                       ^~
0_0_38637939_6294.cpp:35:23: note: suggested alternative: 'int'
   for(int i=hd[x];i;i=nt[i])
                       ^~
                       int
0_0_38637939_6294.cpp:37:10: error: 'to' was not declared in this scope
    int v=to[i];
          ^~
0_0_38637939_6294.cpp:40:21: error: 'sz' was not declared in this scope
    d-=(1-k[x]-e[x])/sz[x]*b[v];
                     ^~
0_0_38637939_6294.cpp:40:21: note: suggested alternative: 'sc'
    d-=(1-k[x]-e[x])/sz[x]*b[v];
                     ^~
                     sc
0_0_38637939_6294.cpp:44:28: error: 'sz' was not declared in this scope
   a[x]=(k[x]+(1-k[x]-e[x])/sz[x]*sa)/d;
                            ^~
0_0_38637939_6294.cpp:44:28: note: suggested alternative: 'sc'
   a[x]=(k[x]+(1-k[x]-e[x])/sz[x]*sa)/d;
                            ^~
                            sc
0_0_38637939_6294.cpp: In function 'int main()':
0_0_38637939_6294.cpp:55:15: error: 'n' was not declared in this scope
   scanf("%d",&n);
               ^
0_0_38637939_6294.cpp:56:10: error: 'hd' was not declared in this scope
   memset(hd,0,sizeof hd);
          ^~
0_0_38637939_6294.cpp:57:10: error: 'sz' was not declared in this scope
   memset(sz,0,sizeof sz);
          ^~
0_0_38637939_6294.cpp:58:3: error: 'ct' was not declared in this scope
   ct=0;
   ^~
0_0_38637939_6294.cpp:58:3: note: suggested alternative: 't'
   ct=0;
   ^~
   t


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-28 17:22:09, Gzip enabled