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_20427605_14006.cpp: In function 'int sap(int, int)':
0_0_20427605_14006.cpp:17:12: error: no match for 'operator[]' (operand types are 'node' and 'int')
   if(map[u][v]>0){
            ^
0_0_20427605_14006.cpp:19:27: error: no match for 'operator[]' (operand types are 'node' and 'int')
     int x=sap(v,min(map[u][v],s2));
                           ^
0_0_20427605_14006.cpp:21:11: error: no match for 'operator[]' (operand types are 'node' and 'int')
     map[u][v]-=x;
           ^
0_0_20427605_14006.cpp:22:11: error: no match for 'operator[]' (operand types are 'node' and 'int')
     map[v][u]+=x;
           ^


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-17 00:18:05, Gzip enabled