0_0_33607028_6724.cpp:48:5: error: redefinition of 'int t'
int t,n,p,a[MAXN];
^
0_0_33607028_6724.cpp:5:5: note: 'int t' previously declared here
int t,n,p,a[MAXN];
^
0_0_33607028_6724.cpp:48:7: error: redefinition of 'int n'
int t,n,p,a[MAXN];
^
0_0_33607028_6724.cpp:5:7: note: 'int n' previously declared here
int t,n,p,a[MAXN];
^
0_0_33607028_6724.cpp:48:9: error: redefinition of 'int p'
int t,n,p,a[MAXN];
^
0_0_33607028_6724.cpp:5:9: note: 'int p' previously declared here
int t,n,p,a[MAXN];
^
0_0_33607028_6724.cpp:48:17: error: redefinition of 'int a [100005]'
int t,n,p,a[MAXN];
^
0_0_33607028_6724.cpp:5:11: note: 'int a [100005]' previously declared here
int t,n,p,a[MAXN];
^
0_0_33607028_6724.cpp:49:12: error: redefinition of 'int dp [100005]'
int dp[MAXN];
^
0_0_33607028_6724.cpp:6:5: note: 'int dp [100005]' previously declared here
int dp[MAXN];
^
0_0_33607028_6724.cpp: In function 'int main()':
0_0_33607028_6724.cpp:51:5: error: redefinition of 'int main()'
int main(){
^
0_0_33607028_6724.cpp:8:5: note: 'int main()' previously defined here
int main(){
^
|