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_16826242_6422.cpp: In function 'void insert(int, int, int)':
0_0_16826242_6422.cpp:13:50: error: reference to 'next' is ambiguous
 inline void insert(int a,int b,int t){cd[++et]=b,next[et]=e[a],e[a]=et,w[et]=t,cd[++et]=a,next[et]=e[b],e[b]=et,w[et]=t;}inline bool cmp(int a,int b){return d[a]<d[b];}
                                                  ^
0_0_16826242_6422.cpp:10:61: note: candidates are: int next [100001]
 int test,ti,le[V*3],ri[V*3],last,tp[V],e[V],v[E],cd[E],w[E],next[E],sz[V],x,y,root,rtmp,sum,cnt,source,fe,n,k,i,et=1,wt,ss[19],q[V*20];long long MAPLE,mx,l,r,mid,D[V],De,d[V*20];bool u[V];char c,fl[L],*A=fl,*B=fl;
                                                             ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:66:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:61,
                 from 0_0_16826242_6422.cpp:2:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_iterator_base_funcs.h:184:5: note:                 template<class _ForwardIterator> _ForwardIterator std::next(_ForwardIterator, typename std::iterator_traits<_Iter>::difference_type)
     next(_ForwardIterator __x, typename
     ^
0_0_16826242_6422.cpp:13:91: error: reference to 'next' is ambiguous
 inline void insert(int a,int b,int t){cd[++et]=b,next[et]=e[a],e[a]=et,w[et]=t,cd[++et]=a,next[et]=e[b],e[b]=et,w[et]=t;}inline bool cmp(int a,int b){return d[a]<d[b];}
                                                                                           ^
0_0_16826242_6422.cpp:10:61: note: candidates are: int next [100001]
 int test,ti,le[V*3],ri[V*3],last,tp[V],e[V],v[E],cd[E],w[E],next[E],sz[V],x,y,root,rtmp,sum,cnt,source,fe,n,k,i,et=1,wt,ss[19],q[V*20];long long MAPLE,mx,l,r,mid,D[V],De,d[V*20];bool u[V];char c,fl[L],*A=fl,*B=fl;
                                                             ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:66:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:61,
                 from 0_0_16826242_6422.cpp:2:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_iterator_base_funcs.h:184:5: note:                 template<class _ForwardIterator> _ForwardIterator std::next(_ForwardIterator, typename std::iterator_traits<_Iter>::difference_type)
     next(_ForwardIterator __x, typename
     ^
0_0_16826242_6422.cpp: In function 'void core(int, int)':
0_0_16826242_6422.cpp:17:22: error: reference to 'next' is ambiguous
  for (int y=e[x];y;y=next[y])
                      ^
0_0_16826242_6422.cpp:10:61: note: candidates are: int next [100001]
 int test,ti,le[V*3],ri[V*3],last,tp[V],e[V],v[E],cd[E],w[E],next[E],sz[V],x,y,root,rtmp,sum,cnt,source,fe,n,k,i,et=1,wt,ss[19],q[V*20];long long MAPLE,mx,l,r,mid,D[V],De,d[V*20];bool u[V];char c,fl[L],*A=fl,*B=fl;
                                                             ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:66:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:61,
                 from 0_0_16826242_6422.cpp:2:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_iterator_base_funcs.h:184:5: note:                 template<class _ForwardIterator> _ForwardIterator std::next(_ForwardIterator, typename std::iterator_traits<_Iter>::difference_type)
     next(_ForwardIterator __x, typename
     ^
0_0_16826242_6422.cpp: In function 'void core_D(int, int)':
0_0_16826242_6422.cpp:25:22: error: reference to 'next' is ambiguous
  for (int y=e[x];y;y=next[y])
                      ^
0_0_16826242_6422.cpp:10:61: note: candidates are: int next [100001]
 int test,ti,le[V*3],ri[V*3],last,tp[V],e[V],v[E],cd[E],w[E],next[E],sz[V],x,y,root,rtmp,sum,cnt,source,fe,n,k,i,et=1,wt,ss[19],q[V*20];long long MAPLE,mx,l,r,mid,D[V],De,d[V*20];bool u[V];char c,fl[L],*A=fl,*B=fl;
                                                             ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:66:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:61,
                 from 0_0_16826242_6422.cpp:2:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_iterator_base_funcs.h:184:5: note:                 template<class _ForwardIterator> _ForwardIterator std::next(_ForwardIterator, typename std::iterator_traits<_Iter>::difference_type)
     next(_ForwardIterator __x, typename
     ^
0_0_16826242_6422.cpp: In function 'void vfs(int, int, long long int)':
0_0_16826242_6422.cpp:33:22: error: reference to 'next' is ambiguous
  for (int y=e[x];y;y=next[y])
                      ^
0_0_16826242_6422.cpp:10:61: note: candidates are: int next [100001]
 int test,ti,le[V*3],ri[V*3],last,tp[V],e[V],v[E],cd[E],w[E],next[E],sz[V],x,y,root,rtmp,sum,cnt,source,fe,n,k,i,et=1,wt,ss[19],q[V*20];long long MAPLE,mx,l,r,mid,D[V],De,d[V*20];bool u[V];char c,fl[L],*A=fl,*B=fl;
                                                             ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:66:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:61,
                 from 0_0_16826242_6422.cpp:2:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_iterator_base_funcs.h:184:5: note:                 template<class _ForwardIterator> _ForwardIterator std::next(_ForwardIterator, typename std::iterator_traits<_Iter>::difference_type)
     next(_ForwardIterator __x, typename
     ^
0_0_16826242_6422.cpp: In function 'void cfs(int, int, long long int)':
0_0_16826242_6422.cpp:40:22: error: reference to 'next' is ambiguous
  for (int y=e[x];y;y=next[y])
                      ^
0_0_16826242_6422.cpp:10:61: note: candidates are: int next [100001]
 int test,ti,le[V*3],ri[V*3],last,tp[V],e[V],v[E],cd[E],w[E],next[E],sz[V],x,y,root,rtmp,sum,cnt,source,fe,n,k,i,et=1,wt,ss[19],q[V*20];long long MAPLE,mx,l,r,mid,D[V],De,d[V*20];bool u[V];char c,fl[L],*A=fl,*B=fl;
                                                             ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:66:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:61,
                 from 0_0_16826242_6422.cpp:2:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_iterator_base_funcs.h:184:5: note:                 template<class _ForwardIterator> _ForwardIterator std::next(_ForwardIterator, typename std::iterator_traits<_Iter>::difference_type)
     next(_ForwardIterator __x, typename
     ^
0_0_16826242_6422.cpp: In function 'void F(int)':
0_0_16826242_6422.cpp:47:26: error: reference to 'next' is ambiguous
  for (De=D[x],y=e[x];y;y=next[y])
                          ^
0_0_16826242_6422.cpp:10:61: note: candidates are: int next [100001]
 int test,ti,le[V*3],ri[V*3],last,tp[V],e[V],v[E],cd[E],w[E],next[E],sz[V],x,y,root,rtmp,sum,cnt,source,fe,n,k,i,et=1,wt,ss[19],q[V*20];long long MAPLE,mx,l,r,mid,D[V],De,d[V*20];bool u[V];char c,fl[L],*A=fl,*B=fl;
                                                             ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:66:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:61,
                 from 0_0_16826242_6422.cpp:2:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_iterator_base_funcs.h:184:5: note:                 template<class _ForwardIterator> _ForwardIterator std::next(_ForwardIterator, typename std::iterator_traits<_Iter>::difference_type)
     next(_ForwardIterator __x, typename
     ^
0_0_16826242_6422.cpp:51:18: error: reference to 'next' is ambiguous
  for (y=e[x];y;y=next[y])
                  ^
0_0_16826242_6422.cpp:10:61: note: candidates are: int next [100001]
 int test,ti,le[V*3],ri[V*3],last,tp[V],e[V],v[E],cd[E],w[E],next[E],sz[V],x,y,root,rtmp,sum,cnt,source,fe,n,k,i,et=1,wt,ss[19],q[V*20];long long MAPLE,mx,l,r,mid,D[V],De,d[V*20];bool u[V];char c,fl[L],*A=fl,*B=fl;
                                                             ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:66:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:61,
                 from 0_0_16826242_6422.cpp:2:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_iterator_base_funcs.h:184:5: note:                 template<class _ForwardIterator> _ForwardIterator std::next(_ForwardIterator, typename std::iterator_traits<_Iter>::difference_type)
     next(_ForwardIterator __x, typename
     ^
0_0_16826242_6422.cpp: In function 'void G(int)':
0_0_16826242_6422.cpp:73:24: error: reference to 'next' is ambiguous
  int y;for (y=e[x];y;y=next[y])
                        ^
0_0_16826242_6422.cpp:10:61: note: candidates are: int next [100001]
 int test,ti,le[V*3],ri[V*3],last,tp[V],e[V],v[E],cd[E],w[E],next[E],sz[V],x,y,root,rtmp,sum,cnt,source,fe,n,k,i,et=1,wt,ss[19],q[V*20];long long MAPLE,mx,l,r,mid,D[V],De,d[V*20];bool u[V];char c,fl[L],*A=fl,*B=fl;
                                                             ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:66:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:61,
                 from 0_0_16826242_6422.cpp:2:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_iterator_base_funcs.h:184:5: note:                 template<class _ForwardIterator> _ForwardIterator std::next(_ForwardIterator, typename std::iterator_trai


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-26 09:51:02, Gzip enabled