0_0_20988189_2119.cpp:17:24: error: stray '#' in program
for(int i=0; i<n; ++i) pre[i]=dp[i][0]=dp[i][1]=0,head[i]=-1;
^
0_0_20988189_2119.cpp:17:29: error: stray '#' in program
for(int i=0; i<n; ++i) pre[i]=dp[i][0]=dp[i][1]=0,head[i]=-1;
^
0_0_20988189_2119.cpp:24:15: error: stray '#' in program
head[u]=p++;
^
0_0_20988189_2119.cpp:24:20: error: stray '#' in program
head[u]=p++;
^
0_0_20988189_2119.cpp:28:22: error: stray '#' in program
int lowu=pre[u]=++dfs_clock;
^
0_0_20988189_2119.cpp:28:27: error: stray '#' in program
int lowu=pre[u]=++dfs_clock;
^
0_0_20988189_2119.cpp:39:34: error: stray '#' in program
if(pre[u]<lowv) ++c,++m;
^
0_0_20988189_2119.cpp:39:39: error: stray '#' in program
if(pre[u]<lowv) ++c,++m;
^
0_0_20988189_2119.cpp:39:46: error: stray '#' in program
if(pre[u]<lowv) ++c,++m;
^
0_0_20988189_2119.cpp:39:51: error: stray '#' in program
if(pre[u]<lowv) ++c,++m;
^
0_0_20988189_2119.cpp:46:34: error: stray '#' in program
p=max(p,dp[u][0]+dp[u][1]);
^
0_0_20988189_2119.cpp:61:28: error: stray '#' in program
for(int i=0; i<m; ++i)
^
0_0_20988189_2119.cpp:61:33: error: stray '#' in program
for(int i=0; i<m; ++i)
^
0_0_20988189_2119.cpp:66:34: error: stray '#' in program
iscut[2*i]=iscut[2*i+1]=false;
^
0_0_20988189_2119.cpp: In function 'void init()':
0_0_20988189_2119.cpp:17:25: error: lvalue required as unary '&' operand
for(int i=0; i<n; ++i) pre[i]=dp[i][0]=dp[i][1]=0,head[i]=-1;
^
0_0_20988189_2119.cpp:17:27: error: expected ')' before ';' token
for(int i=0; i<n; ++i) pre[i]=dp[i][0]=dp[i][1]=0,head[i]=-1;
^
0_0_20988189_2119.cpp:17:30: error: lvalue required as unary '&' operand
for(int i=0; i<n; ++i) pre[i]=dp[i][0]=dp[i][1]=0,head[i]=-1;
^
0_0_20988189_2119.cpp:17:33: error: 'i' was not declared in this scope
for(int i=0; i<n; ++i) pre[i]=dp[i][0]=dp[i][1]=0,head[i]=-1;
^
0_0_20988189_2119.cpp: In function 'void add(int, int)':
0_0_20988189_2119.cpp:22:5: error: reference to 'next' is ambiguous
next[p][1]=v;
^
0_0_20988189_2119.cpp:12:29: note: candidates are: int next [2000020][2]
int pre[N],dp[N][2],head[N],next[2*M][2];
^
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++/bits/char_traits.h:39,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:40,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ostream:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:39,
from 0_0_20988189_2119.cpp:1:
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_20988189_2119.cpp:23:5: error: reference to 'next' is ambiguous
next[p][0]=head[u];
^
0_0_20988189_2119.cpp:12:29: note: candidates are: int next [2000020][2]
int pre[N],dp[N][2],head[N],next[2*M][2];
^
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++/bits/char_traits.h:39,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:40,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ostream:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:39,
from 0_0_20988189_2119.cpp:1:
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_20988189_2119.cpp:24:21: error: lvalue required as unary '&' operand
head[u]=p++;
^
0_0_20988189_2119.cpp: In function 'int dfs(int)':
0_0_20988189_2119.cpp:28:23: error: lvalue required as unary '&' operand
int lowu=pre[u]=++dfs_clock;
^
0_0_20988189_2119.cpp:28:28: error: lvalue required as unary '&' operand
int lowu=pre[u]=++dfs_clock;
^
0_0_20988189_2119.cpp:29:33: error: reference to 'next' is ambiguous
for(int i=head[u]; i!=-1; i=next[i][0])
^
0_0_20988189_2119.cpp:12:29: note: candidates are: int next [2000020][2]
int pre[N],dp[N][2],head[N],next[2*M][2];
^
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++/bits/char_traits.h:39,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:40,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ostream:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:39,
from 0_0_20988189_2119.cpp:1:
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_20988189_2119.cpp:33:19: error: reference to 'next' is ambiguous
int v=next[i][1];
^
0_0_20988189_2119.cpp:12:29: note: candidates are: int next [2000020][2]
int pre[N],dp[N][2],head[N],next[2*M][2];
^
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++/bits/char_traits.h:39,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:40,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ostream:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:39,
from 0_0_20988189_2119.cpp:1:
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_20988189_2119.cpp:39:35: error: lvalue required as unary '&' operand
if(pre[u]<lowv) ++c,++m;
^
0_0_20988189_2119.cpp:39:40: error: lvalue required as unary '&' operand
if(pre[u]<lowv) ++c,++m;
^
0_0_20988189_2119.cpp:39:47: error: lvalue required as unary '&' operand
if(pre[u]<lowv) ++c,++m;
^
0_0_20988189_2119.cpp:39:52: error: lvalue required as unary '&' operand
if(pre[u]<lowv) ++c,++m;
^
0_0_20988189_2119.cpp:46:37: error: expected ')' before ';' token
p=max(p,dp[u][0]+dp[u][1]);
^
0_0_20988189_2119.cpp:46:46: error: expected ';' before ')' token
p=max(p,dp[u][0]+dp[u][1]);
^
0_0_20988189_2119.cpp: In function 'int main()':
0_0_20988189_2119.cpp:61:29: error: lvalue required as unary '&' operand
for(int i=0; i<m; ++i)
^
0_0_20988189_2119.cpp:61:31: error: expected ')' before ';' token
for(int i=0; i<m; ++i)
^
0_0_20988189_2119.cpp:61:34: error: lvalue required as unary '&' operand
for(int i=0; i<m; ++i)
^
0_0_20988189_2119.cpp:61:37: error: 'i' was not declared in this scope
for(int i=0; i<m; ++i)
^
|