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_20990567_24476.cpp:1:2: error: invalid preprocessing directive #includecstdio
 #includecstdio
  ^
0_0_20990567_24476.cpp:2:2: error: invalid preprocessing directive #includecstring
 #includecstring
  ^
0_0_20990567_24476.cpp:3:2: error: invalid preprocessing directive #includequeue
 #includequeue
  ^
0_0_20990567_24476.cpp:7:1: error: 'stdqueueintq' does not name a type
 stdqueueintq;
 ^
0_0_20990567_24476.cpp: In function 'int bfs()':
0_0_20990567_24476.cpp:12:10: error: 'q' was not declared in this scope
  while (!q.empty()) q.pop();
          ^
0_0_20990567_24476.cpp:13:26: error: 'memset' was not declared in this scope
  memset(dep,0,sizeof(dep));
                          ^
0_0_20990567_24476.cpp:14:2: error: 'q' was not declared in this scope
  q.push(1);dep[1]=1;
  ^
0_0_20990567_24476.cpp:19:13: error: 'v' was not declared in this scope
    if (!dep[v=edge[i].to]&&edge[i].val)
             ^
0_0_20990567_24476.cpp: In function 'int dfs(int, int)':
0_0_20990567_24476.cpp:35:10: error: 'numfmx' was not declared in this scope
    mn=mx-numfmx-numf;
          ^
0_0_20990567_24476.cpp:35:17: error: 'numf' was not declared in this scope
    mn=mx-numfmx-numf;
                 ^
0_0_20990567_24476.cpp: In function 'int main()':
0_0_20990567_24476.cpp:48:15: error: expected primary-expression before '%' token
  while (scanf(%d%d,&n,&m)!=EOF)
               ^
0_0_20990567_24476.cpp:48:16: error: 'd' was not declared in this scope
  while (scanf(%d%d,&n,&m)!=EOF)
                ^
0_0_20990567_24476.cpp:48:25: error: 'scanf' was not declared in this scope
  while (scanf(%d%d,&n,&m)!=EOF)
                         ^
0_0_20990567_24476.cpp:48:28: error: 'EOF' was not declared in this scope
  while (scanf(%d%d,&n,&m)!=EOF)
                            ^
0_0_20990567_24476.cpp:50:30: error: 'memset' was not declared in this scope
   memset(head,-1,sizeof(head));
                              ^
0_0_20990567_24476.cpp:51:5: error: 'nm' was not declared in this scope
   N=nm+2;M=ans=0;
     ^
0_0_20990567_24476.cpp:55:9: error: 'i1' was not declared in this scope
     if (i1) addedge(f(i,j),f(i-1,j),1);
         ^
0_0_20990567_24476.cpp:4:23: error: expected ')' before 'm'
 #define f(i,j) ((i)-1)m+(j)+1
                       ^
0_0_20990567_24476.cpp:55:21: note: in expansion of macro 'f'
     if (i1) addedge(f(i,j),f(i-1,j),1);
                     ^
0_0_20990567_24476.cpp:4:23: error: expected ')' before 'm'
 #define f(i,j) ((i)-1)m+(j)+1
                       ^
0_0_20990567_24476.cpp:55:28: note: in expansion of macro 'f'
     if (i1) addedge(f(i,j),f(i-1,j),1);
                            ^
0_0_20990567_24476.cpp:56:9: error: 'j1' was not declared in this scope
     if (j1) addedge(f(i,j),f(i,j-1),1);
         ^
0_0_20990567_24476.cpp:4:23: error: expected ')' before 'm'
 #define f(i,j) ((i)-1)m+(j)+1
                       ^
0_0_20990567_24476.cpp:56:21: note: in expansion of macro 'f'
     if (j1) addedge(f(i,j),f(i,j-1),1);
                     ^
0_0_20990567_24476.cpp:4:23: error: expected ')' before 'm'
 #define f(i,j) ((i)-1)m+(j)+1
                       ^
0_0_20990567_24476.cpp:56:28: note: in expansion of macro 'f'
     if (j1) addedge(f(i,j),f(i,j-1),1);
                            ^
0_0_20990567_24476.cpp:57:11: error: expected primary-expression before '%' token
     scanf(%d,&x);
           ^
0_0_20990567_24476.cpp:4:23: error: expected ')' before 'm'
 #define f(i,j) ((i)-1)m+(j)+1
                       ^
0_0_20990567_24476.cpp:58:25: note: in expansion of macro 'f'
     if (x==1) addedge(1,f(i,j),inf);
                         ^
0_0_20990567_24476.cpp:4:23: error: expected ')' before 'm'
 #define f(i,j) ((i)-1)m+(j)+1
                       ^
0_0_20990567_24476.cpp:59:25: note: in expansion of macro 'f'
     if (x==2) addedge(N,f(i,j),inf);
                         ^
0_0_20990567_24476.cpp:66:10: error: 'Case' was not declared in this scope
   printf(Case %dn%dn,++T,ans);
          ^
0_0_20990567_24476.cpp:66:16: error: 'dn' was not declared in this scope
   printf(Case %dn%dn,++T,ans);
                ^
0_0_20990567_24476.cpp:66:29: error: 'printf' was not declared in this scope
   printf(Case %dn%dn,++T,ans);
                             ^


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-25 16:37:01, Gzip enabled