0_0_34707329_25663.cpp:2:7: error: 'N' was not declared in this scope
int B[N]={1,1,2};
^
0_0_34707329_25663.cpp: In function 'int main()':
0_0_34707329_25663.cpp:5:9: error: 'sf' was not declared in this scope
sf(t);
^
0_0_34707329_25663.cpp:6:19: error: 'N' was not declared in this scope
for(int i=3;i<N;++i)
^
0_0_34707329_25663.cpp:11:16: error: 'B' was not declared in this scope
if(j%2)B[i]=(B[i]+B[i-w])%mod;
^
0_0_34707329_25663.cpp:11:35: error: 'mod' was not declared in this scope
if(j%2)B[i]=(B[i]+B[i-w])%mod;
^
0_0_34707329_25663.cpp:12:14: error: 'B' was not declared in this scope
else B[i]=(B[i]-B[i-w]+mod)%mod;
^
0_0_34707329_25663.cpp:12:32: error: 'mod' was not declared in this scope
else B[i]=(B[i]-B[i-w]+mod)%mod;
^
0_0_34707329_25663.cpp:17:13: error: 'B' was not declared in this scope
ans=B[n]%mod;
^
0_0_34707329_25663.cpp:17:18: error: 'mod' was not declared in this scope
ans=B[n]%mod;
^
0_0_34707329_25663.cpp:25:26: error: 'printf' was not declared in this scope
printf("%d\n",ans);
^
|