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_35663813_2642.cpp:6:1: error: stray '\243' in program
 const int MAXX = 1e4 + 5£» 
 ^
0_0_35663813_2642.cpp:6:1: error: stray '\273' in program
0_0_35663813_2642.cpp:7:1: error: expected ',' or ';' before 'int'
 int t,n,a[MAXN][MAXN],tot,head[MAXX * 2],ans,cx[MAXN],cy[MAXN];
 ^
0_0_35663813_2642.cpp: In function 'void Add(int, int)':
0_0_35663813_2642.cpp:14:9: error: 'tot' was not declared in this scope
  edge[++tot].Next = head[x];
         ^
0_0_35663813_2642.cpp:14:21: error: 'head' was not declared in this scope
  edge[++tot].Next = head[x];
                     ^
0_0_35663813_2642.cpp: In function 'void Init()':
0_0_35663813_2642.cpp:19:21: error: 'tot' was not declared in this scope
  for(int i = 1;i <= tot;i ++)
                     ^
0_0_35663813_2642.cpp:21:21: error: 'n' was not declared in this scope
  for(int i = 1;i <= n;i ++) head[i] = 0;
                     ^
0_0_35663813_2642.cpp:21:29: error: 'head' was not declared in this scope
  for(int i = 1;i <= n;i ++) head[i] = 0;
                             ^
0_0_35663813_2642.cpp:22:2: error: 'tot' was not declared in this scope
  tot = 0;
  ^
0_0_35663813_2642.cpp: In function 'bool Find_Road(int)':
0_0_35663813_2642.cpp:25:18: error: 'head' was not declared in this scope
     for (int i = head[x]; i; i = edge[i].Next) {
                  ^
0_0_35663813_2642.cpp:29:17: error: 'cy' was not declared in this scope
             if (cy[To] == -1 || Find_Road(cy[To])) {
                 ^
0_0_35663813_2642.cpp:30:17: error: 'cx' was not declared in this scope
                 cx[x] = To, cy[To] = x;
                 ^
0_0_35663813_2642.cpp: In function 'bool Hungarian_Algorithm()':
0_0_35663813_2642.cpp:38:5: error: 'ans' was not declared in this scope
     ans = 0;
     ^
0_0_35663813_2642.cpp:39:21: error: 'n' was not declared in this scope
  for(int i = 1;i <= n * 2;i ++)
                     ^
0_0_35663813_2642.cpp:40:2: error: 'cx' was not declared in this scope
  cx[i] = cy[i] = -1;
  ^
0_0_35663813_2642.cpp:40:10: error: 'cy' was not declared in this scope
  cx[i] = cy[i] = -1;
          ^
0_0_35663813_2642.cpp:41:26: error: 'n' was not declared in this scope
     for (int i = 1; i <= n; i++)
                          ^
0_0_35663813_2642.cpp:42:9: error: 'cx' was not declared in this scope
     if (cx[i] == -1) {
         ^
0_0_35663813_2642.cpp:47:19: error: 'n' was not declared in this scope
     return ans == n;
                   ^
0_0_35663813_2642.cpp: In function 'bool check(int)':
0_0_35663813_2642.cpp:53:22: error: 'n' was not declared in this scope
   for(int j = 1;j <= n;j ++)
                      ^
0_0_35663813_2642.cpp:55:6: error: 'a' was not declared in this scope
   if(a[j][k] >= Minn && a[j][k] <= Maxx)
      ^
0_0_35663813_2642.cpp: In function 'int main()':
0_0_35663813_2642.cpp:63:14: error: 't' was not declared in this scope
  scanf("%d",&t);
              ^
0_0_35663813_2642.cpp:67:15: error: 'n' was not declared in this scope
   scanf("%d",&n);
               ^
0_0_35663813_2642.cpp:70:16: error: 'a' was not declared in this scope
    scanf("%d",&a[i][j]);
                ^


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 18:28:44, Gzip enabled