/in/foo.cc: In function 'int main()':
/in/foo.cc:21:21: error: 'n' was not declared in this scope
scanf("%d",&n);
^
/in/foo.cc:22:33: error: 't' was not declared in this scope
For(i,1,n) scanf("%d",&t[i]);
^
/in/foo.cc:23:16: error: 'f' was not declared in this scope
memset(f,0,sizeof f);
^
/in/foo.cc:29:22: error: 't' was not declared in this scope
if(i%t[j]!=0) f[i][j]|=f[i-1][j-1],f[i][j]|=f[i-1][j];
^
/in/foo.cc:30:30: error: 't' was not declared in this scope
if(j>1) if(i%t[j-1]!=0) f[i][j-1]|=f[i-1][j];
^