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_18112114_16491.cpp: In function 'bool spfa(int, int)':
0_0_18112114_16491.cpp:38:5: error: 'queue' was not declared in this scope
     queue<int> q;
     ^
0_0_18112114_16491.cpp:38:11: error: expected primary-expression before 'int'
     queue<int> q;
           ^
0_0_18112114_16491.cpp:46:5: error: 'q' was not declared in this scope
     q.push(s);
     ^
0_0_18112114_16491.cpp:50:32: error: expected initializer before '!=' token
         for(int i = head[u], i != -1; i = edge[i].nxt){
                                ^
0_0_18112114_16491.cpp:50:32: error: expected ';' before '!=' token
0_0_18112114_16491.cpp:50:32: error: expected primary-expression before '!=' token
0_0_18112114_16491.cpp: In function 'int minCostMaxFlow(int, int, int&)':
0_0_18112114_16491.cpp:71:58: error: expected ']' before ')' token
         for(int i = pre[t]; i != -1; i = pre[edge[i^1].to){
                                                          ^
0_0_18112114_16491.cpp:75:58: error: expected ']' before ')' token
         for(int i = pre[t]; i != -1; i = pre[edge[i^1].to){
                                                          ^
0_0_18112114_16491.cpp:83:1: error: expected ';' 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-11-25 22:39:43, Gzip enabled