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_16234128_26991.cpp: In function 'bool spfa(int, int)':
0_0_16234128_26991.cpp:83:27: error: expected primary-expression before '.' token
     for (int i=0;i<n;i++) .cap="" for="" i="head[u];i!=-1;i=edge[i].next)" if="" int="" u="q.front();" v="edge[i].to;" while=""> edge[i].flow && dis[v] > dis[u] + edge[i].cost)
                           ^
0_0_16234128_26991.cpp: At global scope:
0_0_16234128_26991.cpp:94:5: error: expected declaration before '}' token
     }
     ^


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-25 03:25:38, Gzip enabled