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_33813262_31866.cpp: In function 'void dfs(int)':
0_0_33813262_31866.cpp:23:39: error: expected primary-expression before ')' token
 for( int i=hl[u] ; i!=-1 ;i=e[i].next)){
                                       ^
0_0_33813262_31866.cpp: In function 'void tarjan()':
0_0_33813262_31866.cpp:2:15: error: 'k' was not declared in this scope
 #define ms (s,k)  memset ( s,k ,sizeof(s))
               ^
0_0_33813262_31866.cpp:45:2: note: in expansion of macro 'ms'
  ms(dfn ,0);
  ^
0_0_33813262_31866.cpp:3:14: error: 'i' was not declared in this scope
 #define rep (i ,s ,e) for (int i =s ;i< =e; i++)
              ^
0_0_33813262_31866.cpp:49:5: note: in expansion of macro 'rep'
     rep (i,1,n) {
     ^
0_0_33813262_31866.cpp:3:41: error: expected primary-expression before '=' token
 #define rep (i ,s ,e) for (int i =s ;i< =e; i++)
                                         ^
0_0_33813262_31866.cpp:49:5: note: in expansion of macro 'rep'
     rep (i,1,n) {
     ^
0_0_33813262_31866.cpp: In function 'int main()':
0_0_33813262_31866.cpp:2:15: error: 'k' was not declared in this scope
 #define ms (s,k)  memset ( s,k ,sizeof(s))
               ^
0_0_33813262_31866.cpp:57:2: note: in expansion of macro 'ms'
  ms(hl, -1);
  ^
0_0_33813262_31866.cpp:59:14: error: 'l' was not declared in this scope
  for (int i =l , u ,v; i< = m; i++) {
              ^
0_0_33813262_31866.cpp:59:27: error: expected primary-expression before '=' token
  for (int i =l , u ,v; i< = m; i++) {
                           ^
0_0_33813262_31866.cpp:60:9: error: 'u' was not declared in this scope
   cin >>u >>v ; add( u, v)
         ^
0_0_33813262_31866.cpp:60:13: error: 'v' was not declared in this scope
   cin >>u >>v ; add( u, v)
             ^
0_0_33813262_31866.cpp:3:14: error: 'i' was not declared in this scope
 #define rep (i ,s ,e) for (int i =s ;i< =e; i++)
              ^
0_0_33813262_31866.cpp:63:3: note: in expansion of macro 'rep'
   rep (i ,1,n) {
   ^
0_0_33813262_31866.cpp:3:41: error: expected primary-expression before '=' token
 #define rep (i ,s ,e) for (int i =s ;i< =e; i++)
                                         ^
0_0_33813262_31866.cpp:63:3: note: in expansion of macro 'rep'
   rep (i ,1,n) {
   ^


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-10-05 09:23:43, Gzip enabled