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_37893333_31684.cpp: In member function 'bool Flow::bfs(long long int, long long int)':
0_0_37893333_31684.cpp:25:22: error: expected unqualified-id before '[' token
                 auto [v,w]=e[j];
                      ^
0_0_37893333_31684.cpp:26:22: error: 'v' was not declared in this scope
                 if(d[v]==-1&&w){
                      ^
0_0_37893333_31684.cpp:26:30: error: 'w' was not declared in this scope
                 if(d[v]==-1&&w){
                              ^
0_0_37893333_31684.cpp: In member function 'long long int Flow::find(long long int, long long int, long long int)':
0_0_37893333_31684.cpp:40:18: error: expected unqualified-id before '[' token
             auto [v,w]=e[j];
                  ^
0_0_37893333_31684.cpp:41:18: error: 'v' was not declared in this scope
             if(d[v]==d[u]+1&&w){
                  ^
0_0_37893333_31684.cpp:41:30: error: 'w' was not declared in this scope
             if(d[v]==d[u]+1&&w){
                              ^


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-06-17 00:41:42, Gzip enabled