0_0_37610931_19729.cpp:1:2: error: invalid preprocessing directive #incldue
#incldue<bits/stdc++.h>
^
0_0_37610931_19729.cpp: In function 'int main()':
0_0_37610931_19729.cpp:9:2: error: 'cin' was not declared in this scope
cin>>T;
^
0_0_37610931_19729.cpp:10:8: error: 't' was not declared in this scope
while(t--)
^
0_0_37610931_19729.cpp:13:19: error: 'strlen' was not declared in this scope
int n=strlen(a+1);
^
0_0_37610931_19729.cpp:14:22: error: 'memset' was not declared in this scope
memset(f,0,sizeof f);
^
0_0_37610931_19729.cpp:23:78: error: 'max' was not declared in this scope
f[l][r]=max(f[l][r],f[l][r-1]+f[l+1][r]-f[l][r]+(a[l]==a[r])*f[l+1][r-1]);
^
0_0_37610931_19729.cpp:26:3: error: 'cout' was not declared in this scope
cout<<f[1][n]<<endl
^
0_0_37610931_19729.cpp:26:18: error: 'endl' was not declared in this scope
cout<<f[1][n]<<endl
^
|