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_37543380_9810.cpp: In lambda function:
0_0_37543380_9810.cpp:49:22: error: expected unqualified-id before '[' token
                 auto [v,w]=g.e[i];
                      ^
0_0_37543380_9810.cpp:50:24: error: 'w' was not declared in this scope
                 if(sgn(w)&&!dep[v])dep[v]=dep[u]+1,q.push(v);
                        ^
0_0_37543380_9810.cpp:41:18: note: in definition of macro 'sgn'
  #define sgn(x) (x>0)//(x>1e-10)
                  ^
0_0_37543380_9810.cpp:50:33: error: 'v' was not declared in this scope
                 if(sgn(w)&&!dep[v])dep[v]=dep[u]+1,q.push(v);
                                 ^
0_0_37543380_9810.cpp: In lambda function:
0_0_37543380_9810.cpp:58:35: error: expected unqualified-id before '[' token
             int j=g.sn[u][i];auto [v,w]=g.e[j];
                                   ^
0_0_37543380_9810.cpp:59:12: error: 'w' was not declared in this scope
    if(!sgn(w)||dep[v]!=dep[u]+1)continue;
            ^
0_0_37543380_9810.cpp:41:18: note: in definition of macro 'sgn'
  #define sgn(x) (x>0)//(x>1e-10)
                  ^
0_0_37543380_9810.cpp:59:20: error: 'v' was not declared in this scope
    if(!sgn(w)||dep[v]!=dep[u]+1)continue;
                    ^
0_0_37543380_9810.cpp:60:12: error: 'v' was not declared in this scope
    T f=dfs(v,min(w,in));g.e[j].w-=f,g.e[j^1].w+=f;
            ^
0_0_37543380_9810.cpp:60:18: error: 'w' was not declared in this scope
    T f=dfs(v,min(w,in));g.e[j].w-=f,g.e[j^1].w+=f;
                  ^
0_0_37543380_9810.cpp: In function 'void solve()':
0_0_37543380_9810.cpp:85:14: error: expected unqualified-id before '[' token
     for(auto [u,v]:edge){
              ^
0_0_37543380_9810.cpp:85:14: error: expected ';' before '[' token
0_0_37543380_9810.cpp:85:15: error: 'u' was not declared in this scope
     for(auto [u,v]:edge){
               ^
0_0_37543380_9810.cpp:85:17: error: 'v' was not declared in this scope
     for(auto [u,v]:edge){
                 ^
0_0_37543380_9810.cpp: In lambda function:
0_0_37543380_9810.cpp:85:19: error: expected '{' before ':' token
     for(auto [u,v]:edge){
                   ^
0_0_37543380_9810.cpp: In function 'void solve()':
0_0_37543380_9810.cpp:85:19: error: expected ';' before ':' token
0_0_37543380_9810.cpp:85:19: error: expected primary-expression before ':' token
0_0_37543380_9810.cpp:85:19: error: expected ')' before ':' token
0_0_37543380_9810.cpp:85:19: error: expected primary-expression 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-22 13:01:46, Gzip enabled