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_4402820_25089.cpp:8: error: `const int fmax' redeclared as different kind of symbol
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/math.h:778: error: previous declaration of `double fmax(double, double)'
0_0_4402820_25089.cpp:8: error: declaration of `const int fmax'
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/math.h:778: error: conflicts with previous declaration `double fmax(double, double)'
0_0_4402820_25089.cpp:26: error: size of array `head' has non-integral type `double ()(double, double)'
0_0_4402820_25089.cpp:26: error: size of array `d' has non-integral type `double ()(double, double)'
0_0_4402820_25089.cpp:26: error: size of array `set' has non-integral type `double ()(double, double)'
0_0_4402820_25089.cpp:27: error: invalid operands of types `int' and `double ()(double, double)' to binary `operator*'
0_0_4402820_25089.cpp:28: error: size of array `flag' has non-integral type `double ()(double, double)'
0_0_4402820_25089.cpp: In function `int spfa(int, int)':
0_0_4402820_25089.cpp:88: error: `queue' undeclared (first use this function)
0_0_4402820_25089.cpp:88: error: (Each undeclared identifier is reported only once for each function it appears in.)


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-23 19:28:01, Gzip enabled