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_14817168_14693.cpp: In function 'int main()':
0_0_14817168_14693.cpp:65:21: error: invalid operands of types 'double' and 'double [55]' to binary 'operator>'
     if(w>cost[dx][dx]||tmp.k-1<0||fabs(w-cost[dx][dy])<1e-7)
                     ^
0_0_14817168_14693.cpp:65:53: error: invalid operands of types 'double' and 'double [55]' to binary 'operator-'
     if(w>cost[dx][dx]||tmp.k-1<0||fabs(w-cost[dx][dy])<1e-7)
                                                     ^
0_0_14817168_14693.cpp:68:17: error: incompatible types in assignment of 'double' to 'double [55]'
     cost[dx][dy]=w;
                 ^
0_0_14817168_14693.cpp:74:24: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
   if(cost[end1][end2]==maxn)
                        ^


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-02-18 22:02:36, Gzip enabled