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_36674746_12082.cpp: In function 'void dinic(int, int)':
0_0_36674746_12082.cpp:92:35: error: reference to 'stack' is ambiguous
                      if(minn>edge[stack[i]].f)
                                   ^
0_0_36674746_12082.cpp:35:6: note: candidates are: int stack [2040200]
  int stack[MAXE];
      ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/stack:61:0,
                 from 0_0_36674746_12082.cpp:15:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_stack.h:99:11: note:                 template<class _Tp, class _Sequence> class std::stack
     class stack
           ^
0_0_36674746_12082.cpp:94:36: error: reference to 'stack' is ambiguous
                          minn=edge[stack[i]].f;
                                    ^
0_0_36674746_12082.cpp:35:6: note: candidates are: int stack [2040200]
  int stack[MAXE];
      ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/stack:61:0,
                 from 0_0_36674746_12082.cpp:15:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_stack.h:99:11: note:                 template<class _Tp, class _Sequence> class std::stack
     class stack
           ^
0_0_36674746_12082.cpp:99:23: error: reference to 'stack' is ambiguous
                  edge[stack[now]].f=edge[stack[now]^1].f=0;
                       ^
0_0_36674746_12082.cpp:35:6: note: candidates are: int stack [2040200]
  int stack[MAXE];
      ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/stack:61:0,
                 from 0_0_36674746_12082.cpp:15:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_stack.h:99:11: note:                 template<class _Tp, class _Sequence> class std::stack
     class stack
           ^
0_0_36674746_12082.cpp:99:42: error: reference to 'stack' is ambiguous
                  edge[stack[now]].f=edge[stack[now]^1].f=0;
                                          ^
0_0_36674746_12082.cpp:35:6: note: candidates are: int stack [2040200]
  int stack[MAXE];
      ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/stack:61:0,
                 from 0_0_36674746_12082.cpp:15:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_stack.h:99:11: note:                 template<class _Tp, class _Sequence> class std::stack
     class stack
           ^
0_0_36674746_12082.cpp:101:25: error: reference to 'stack' is ambiguous
                  u=edge[stack[top]].s;
                         ^
0_0_36674746_12082.cpp:35:6: note: candidates are: int stack [2040200]
  int stack[MAXE];
      ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/stack:61:0,
                 from 0_0_36674746_12082.cpp:15:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_stack.h:99:11: note:                 template<class _Tp, class _Sequence> class std::stack
     class stack
           ^
0_0_36674746_12082.cpp:110:25: error: reference to 'stack' is ambiguous
                  u=edge[stack[--top]].s;
                         ^
0_0_36674746_12082.cpp:35:6: note: candidates are: int stack [2040200]
  int stack[MAXE];
      ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/stack:61:0,
                 from 0_0_36674746_12082.cpp:15:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_stack.h:99:11: note:                 template<class _Tp, class _Sequence> class std::stack
     class stack
           ^
0_0_36674746_12082.cpp:114:18: error: reference to 'stack' is ambiguous
                  stack[top++]=cur[u];
                  ^
0_0_36674746_12082.cpp:35:6: note: candidates are: int stack [2040200]
  int stack[MAXE];
      ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/stack:61:0,
                 from 0_0_36674746_12082.cpp:15:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_stack.h:99:11: note:                 template<class _Tp, class _Sequence> class std::stack
     class stack
           ^


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-23 05:45:38, Gzip enabled