0_0_32728683_23249.cpp: In function 'void dfs(int)':
0_0_32728683_23249.cpp:8:2: error: reference to 'stack' is ambiguous
stack[top++]=u;
^
0_0_32728683_23249.cpp:4:36: note: candidates are: int stack [2005]
int cnt,low[N],num[N],dfn,sccno[N],stack[N],top;
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/stack:61:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:88,
from 0_0_32728683_23249.cpp:1:
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_32728683_23249.cpp:10:21: error: invalid use of member (did you forget the '&' ?)
for(int i=0;i<G[u].size;++i)
^
0_0_32728683_23249.cpp:25:10: error: reference to 'stack' is ambiguous
int v=stack[--top];
^
0_0_32728683_23249.cpp:4:36: note: candidates are: int stack [2005]
int cnt,low[N],num[N],dfn,sccno[N],stack[N],top;
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/stack:61:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:88,
from 0_0_32728683_23249.cpp:1:
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_32728683_23249.cpp:26:4: error: 'sccon' was not declared in this scope
sccon[v]=cnt;
^
0_0_32728683_23249.cpp: In function 'int main()':
0_0_32728683_23249.cpp:46:14: error: statement cannot resolve address of overloaded function
G[i].clear;
^
0_0_32728683_23249.cpp:53:12: error: no match for 'operator==' (operand types are 'std::basic_ostream<char>' and 'int')
cout<<cnt==1?"Yes":"No";
^
0_0_32728683_23249.cpp:53:12: note: candidates are:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/unordered_set:48:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:116,
from 0_0_32728683_23249.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/unordered_set.h:1343:5: note: template<class _Value, class _Hash, class _Pred, class _Alloc> bool std::operator==(const std::unordered_multiset<_Value, _Hash, _Pred, _Alloc>&, const std::unordered_multiset<_Value, _Hash, _Pred, _Alloc>&)
operator==(const unordered_multiset<_Value, _Hash, _Pred, _Alloc>& __x,
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/unordered_set.h:1343:5: note: template argument deduction/substitution failed:
0_0_32728683_23249.cpp:53:14: note: 'std::basic_ostream<char>' is not derived from 'const std::unordered_multiset<_Value, _Hash, _Pred, _Alloc>'
cout<<cnt==1?"Yes":"No";
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/unordered_set:48:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:116,
from 0_0_32728683_23249.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/unordered_set.h:1331:5: note: template<class _Value, class _Hash, class _Pred, class _Alloc> bool std::operator==(const std::unordered_set<_Value, _Hash, _Pred, _Alloc>&, const std::unordered_set<_Value, _Hash, _Pred, _Alloc>&)
operator==(const unordered_set<_Value, _Hash, _Pred, _Alloc>& __x,
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/unordered_set.h:1331:5: note: template argument deduction/substitution failed:
0_0_32728683_23249.cpp:53:14: note: 'std::basic_ostream<char>' is not derived from 'const std::unordered_set<_Value, _Hash, _Pred, _Alloc>'
cout<<cnt==1?"Yes":"No";
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/unordered_map:48:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:115,
from 0_0_32728683_23249.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/unordered_map.h:1462:5: note: template<class _Key, class _Tp, class _Hash, class _Pred, class _Alloc> bool std::operator==(const std::unordered_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>&, const std::unordered_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>&)
operator==(const unordered_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>& __x,
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/unordered_map.h:1462:5: note: template argument deduction/substitution failed:
0_0_32728683_23249.cpp:53:14: note: 'std::basic_ostream<char>' is not derived from 'const std::unordered_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>'
cout<<cnt==1?"Yes":"No";
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/unordered_map:48:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:115,
from 0_0_32728683_23249.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/unordered_map.h:1450:5: note: template<class _Key, class _Tp, class _Hash, class _Pred, class _Alloc> bool std::operator==(const std::unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>&, const std::unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>&)
operator==(const unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>& __x,
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/unordered_map.h:1450:5: note: template argument deduction/substitution failed:
0_0_32728683_23249.cpp:53:14: note: 'std::basic_ostream<char>' is not derived from 'const std::unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>'
cout<<cnt==1?"Yes":"No";
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:109:0,
from 0_0_32728683_23249.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/scoped_allocator:443:5: note: template<class _OutA1, class _OutA2, class ... _InA> bool std::operator==(const std::scoped_allocator_adaptor<_OutA1, _InA ...>&, const std::scoped_allocator_adaptor<_InnerHead, _InnerTail ...>&)
operator==(const scoped_allocator_adaptor<_OutA1, _InA...>& __a,
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/scoped_allocator:443:5: note: template argument deduction/substitution failed:
0_0_32728683_23249.cpp:53:14: note: 'std::basic_ostream<char>' is not derived from 'const std::scoped_allocator_adaptor<_OutA1, _InA ...>'
cout<<cnt==1?"Yes":"No";
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/regex:58:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:108,
from 0_0_32728683_23249.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/regex.h:1920:5: note: template<class _Bi_iter, class _Alloc> bool std::operator==(const std::match_results<_BiIter, _Alloc>&, const std::match_results<_BiIter, _Alloc>&)
operator==(const match_results<_Bi_iter, _Alloc>& __m1,
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/regex.h:1920:5: note: template argument deduction/substitution failed:
0_0_32728683_23249.cpp:53:14: note: 'std::basic_ostream<char>' is not derived from 'const std::match_results<_BiIter, _Alloc>'
cout<<cnt==1?"Yes":"No";
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/regex:58:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:108,
from 0_0_32728683_23249.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/regex.h:1400:5: note: template<class _Bi_iter> bool std::operator==(const std::sub_match<_BiIter>&, const typename std::iterator_traits<_Iter>::value_type&)
operator==(const sub_match<_Bi_iter>& __lhs,
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/regex.h:1400:5: note: template argument deduction/substitution failed:
0_0_32728683_23249.cpp:53:14: note: 'std::basic_ostream<char>' is not derived from 'const std::sub_match<_BiIter>'
cout<<cnt==1?"Yes":"No";
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/regex:58:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:108,
from 0_0_32728683_23249.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/regex.h:1320:5: note: template<class _Bi_iter> bool std::operator==(const typename std::iterator_traits<_Iter>::value_type&, const std::sub_match<_BiIter>&)
operator==(typename iterator_traits<_Bi_iter>::value_type const& __lhs,
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/regex.h:1320:5: note: template argument deduction/substitution failed:
0_0_32728683_23249.cpp:53:14: note: mismatched types 'const std::sub_match<_BiIter>' and 'int'
cout<<cnt==1?"Yes":"No";
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/regex:58:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:108,
from 0_0_32728683_23249.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/regex.h:1246:5: note: template<class _Bi_iter> bool std::operator==(const std::sub_match<_BiIter>&, const typename std::iterator_traits<_Iter>::value_type*)
operator==(const
|