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_23814294_22695.cpp: In function 'void heap(int)':
0_0_23814294_22695.cpp:15:6: error: expected primary-expression before ')' token
   if()
      ^
0_0_23814294_22695.cpp:16:2: error: expected primary-expression before '}' token
  }
  ^
0_0_23814294_22695.cpp: In function 'int main()':
0_0_23814294_22695.cpp:23:26: error: 'n' was not declared in this scope
     while(scanf("%d %d",&n,&m))
                          ^
0_0_23814294_22695.cpp:23:29: error: 'm' was not declared in this scope
     while(scanf("%d %d",&n,&m))
                             ^
0_0_23814294_22695.cpp:25:13: error: 'k' was not declared in this scope
         for(k=0;k<m;k++)
             ^
0_0_23814294_22695.cpp:27:24: error: 'a' was not declared in this scope
         scanf("%d %d",&a,&b);
                        ^
0_0_23814294_22695.cpp:27:27: error: 'b' was not declared in this scope
         scanf("%d %d",&a,&b);
                           ^
0_0_23814294_22695.cpp:28:3: error: 'i' was not declared in this scope
   i=work[b];
   ^
0_0_23814294_22695.cpp:28:5: error: 'work' was not declared in this scope
   i=work[b];
     ^
0_0_23814294_22695.cpp:32:4: error: 'flag' was not declared in this scope
    flag++;
    ^


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-15 21:34:38, Gzip enabled