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_19111373_16027.cpp:9:21: error: invalid use of non-static data member 'HungarianAlgorithm::range'
     const int range=500;
                     ^
0_0_19111373_16027.cpp:14:20: error: from this location
     bool binaryMap[range][range];
                    ^
0_0_19111373_16027.cpp:9:21: error: invalid use of non-static data member 'HungarianAlgorithm::range'
     const int range=500;
                     ^
0_0_19111373_16027.cpp:14:27: error: from this location
     bool binaryMap[range][range];
                           ^
0_0_19111373_16027.cpp:9:21: error: invalid use of non-static data member 'HungarianAlgorithm::range'
     const int range=500;
                     ^
0_0_19111373_16027.cpp:15:22: error: from this location
     bool YNodeIsMask[range];
                      ^
0_0_19111373_16027.cpp:9:21: error: invalid use of non-static data member 'HungarianAlgorithm::range'
     const int range=500;
                     ^
0_0_19111373_16027.cpp:17:16: error: from this location
     int XMatch[range];
                ^
0_0_19111373_16027.cpp:9:21: error: invalid use of non-static data member 'HungarianAlgorithm::range'
     const int range=500;
                     ^
0_0_19111373_16027.cpp:18:16: error: from this location
     int YMatch[range];
                ^
0_0_19111373_16027.cpp: In member function 'void HungarianAlgorithm::setAllNodeUnmatch()':
0_0_19111373_16027.cpp:23:13: error: 'XMatch' was not declared in this scope
             XMatch[i]=UNMATCH;
             ^
0_0_19111373_16027.cpp:25:13: error: 'YMatch' was not declared in this scope
             YMatch[i]=UNMATCH;
             ^
0_0_19111373_16027.cpp: In member function 'void HungarianAlgorithm::setYNodeUnmask()':
0_0_19111373_16027.cpp:32:13: error: 'YNodeIsMask' was not declared in this scope
             YNodeIsMask[i]=UNMASK;
             ^
0_0_19111373_16027.cpp: In member function 'int HungarianAlgorithm::findPath(int)':
0_0_19111373_16027.cpp:40:16: error: 'binaryMap' was not declared in this scope
             if(binaryMap[XNode][i]&&YNodeIsMask[i]==UNMASK)
                ^
0_0_19111373_16027.cpp:40:37: error: 'YNodeIsMask' was not declared in this scope
             if(binaryMap[XNode][i]&&YNodeIsMask[i]==UNMASK)
                                     ^
0_0_19111373_16027.cpp:43:20: error: 'YMatch' was not declared in this scope
                 if(YMatch[i]==UNMATCH||findPath(YMatch[i]))
                    ^
0_0_19111373_16027.cpp:46:21: error: 'XMatch' was not declared in this scope
                     XMatch[XNode]=i;
                     ^
0_0_19111373_16027.cpp: In member function 'int HungarianAlgorithm::maxMatch()':
0_0_19111373_16027.cpp:63:16: error: 'XMatch' was not declared in this scope
             if(XMatch[i]==UNMATCH)
                ^
0_0_19111373_16027.cpp: In member function 'int HungarianAlgorithm::addAvailableMatch(int, int)':
0_0_19111373_16027.cpp:74:9: error: 'binaryMap' was not declared in this scope
         binaryMap[XNode][YNode]=1;
         ^
0_0_19111373_16027.cpp: In constructor 'HungarianAlgorithm::HungarianAlgorithm(int, int)':
0_0_19111373_16027.cpp:80:16: error: 'binaryMap' was not declared in this scope
         memset(binaryMap,0,sizeof(binaryMap));
                ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2025 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2025-01-12 06:41:19, Gzip enabled