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

In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/cstdbool:39:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:56,
                 from 0_0_28895347_22609.cpp:1:
0_0_28895347_22609.cpp:7:1: error: expected initializer before 'bool'
 bool inq[N],mark[N],mp[N][N];
 ^
0_0_28895347_22609.cpp: In function 'bool dfs(int)':
0_0_28895347_22609.cpp:10:5: error: 'mark' was not declared in this scope
  if(mark[x])return 0;
     ^
0_0_28895347_22609.cpp:11:2: error: 'mark' was not declared in this scope
  mark[x]=1;
  ^
0_0_28895347_22609.cpp:12:28: error: 'mp' was not declared in this scope
  for(int i=1; i<=n; i++)if(mp[x][i]&&dfs(i))return 1;
                            ^
0_0_28895347_22609.cpp: In function 'bool spfa()':
0_0_28895347_22609.cpp:16:9: error: 'dis' was not declared in this scope
  memset(dis,0,sizeof(dis));
         ^
0_0_28895347_22609.cpp:17:9: error: 'inq' was not declared in this scope
  memset(inq,0,sizeof(inq));
         ^
0_0_28895347_22609.cpp:26:8: error: 'mp' was not declared in this scope
    if(!mp[now][i])continue;
        ^
0_0_28895347_22609.cpp: In function 'int main()':
0_0_28895347_22609.cpp:49:10: error: 'mp' was not declared in this scope
   memset(mp,0,sizeof(mp));
          ^
0_0_28895347_22609.cpp:54:10: error: 'mark' was not declared in this scope
   memset(mark,0,sizeof(mark));
          ^


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-29 07:18:32, Gzip enabled