0_0_30327662_23487.cpp: In function 'int main()':
0_0_30327662_23487.cpp:14:24: error: expected primary-expression before 'int'
for(scanf("%d",&t),int k=0; k<t; ++k) {
^
0_0_30327662_23487.cpp:14:33: error: 'k' was not declared in this scope
for(scanf("%d",&t),int k=0; k<t; ++k) {
^
0_0_30327662_23487.cpp:20:14: error: 'a' was not declared in this scope
sort(a,a+n);
^
0_0_30327662_23487.cpp:25:40: error: 'ar' was not declared in this scope
dp[i+1][j-1]+=dp[i][j]*ar[i].q;
^
|