0_0_21405983_5391.cpp: In function 'int main()':
0_0_21405983_5391.cpp:30:14: error: reference to 'i' is ambiguous
}for(i=n+1,s=0;i<=n<<1;i++)up(s,dp[i-n-1]),dw(dp[i],s);
^
0_0_21405983_5391.cpp:21:16: note: candidates are: LL i
LL dp[N],x,y,s,i;
^
0_0_21405983_5391.cpp:9:9: note: int Pentagon_Number::i
int i,j,f[N+1],g[200010];
^
0_0_21405983_5391.cpp:30:24: error: reference to 'i' is ambiguous
}for(i=n+1,s=0;i<=n<<1;i++)up(s,dp[i-n-1]),dw(dp[i],s);
^
0_0_21405983_5391.cpp:21:16: note: candidates are: LL i
LL dp[N],x,y,s,i;
^
0_0_21405983_5391.cpp:9:9: note: int Pentagon_Number::i
int i,j,f[N+1],g[200010];
^
0_0_21405983_5391.cpp:30:32: error: reference to 'i' is ambiguous
}for(i=n+1,s=0;i<=n<<1;i++)up(s,dp[i-n-1]),dw(dp[i],s);
^
0_0_21405983_5391.cpp:21:16: note: candidates are: LL i
LL dp[N],x,y,s,i;
^
0_0_21405983_5391.cpp:9:9: note: int Pentagon_Number::i
int i,j,f[N+1],g[200010];
^
0_0_21405983_5391.cpp:30:44: error: reference to 'i' is ambiguous
}for(i=n+1,s=0;i<=n<<1;i++)up(s,dp[i-n-1]),dw(dp[i],s);
^
0_0_21405983_5391.cpp:21:16: note: candidates are: LL i
LL dp[N],x,y,s,i;
^
0_0_21405983_5391.cpp:9:9: note: int Pentagon_Number::i
int i,j,f[N+1],g[200010];
^
0_0_21405983_5391.cpp:30:58: error: reference to 'i' is ambiguous
}for(i=n+1,s=0;i<=n<<1;i++)up(s,dp[i-n-1]),dw(dp[i],s);
^
0_0_21405983_5391.cpp:21:16: note: candidates are: LL i
LL dp[N],x,y,s,i;
^
0_0_21405983_5391.cpp:9:9: note: int Pentagon_Number::i
int i,j,f[N+1],g[200010];
^
|