0_0_17955765_24178.cpp: In function 'void zhsdabiao()':
0_0_17955765_24178.cpp:2:14: error: invalid operands of types 'long long int' and 'double' to binary 'operator%'
#define mod 1e6+3
^
0_0_17955765_24178.cpp:14:39: note: in expansion of macro 'mod'
c[i][j]=(c[i-1][j-1]+c[i][j-1])%mod;
^
0_0_17955765_24178.cpp: In function 'int main()':
0_0_17955765_24178.cpp:35:27: error: 'memset' was not declared in this scope
memset(a,0,sizeof(a));
^
0_0_17955765_24178.cpp:2:14: error: invalid operands of types 'long long int' and 'double' to binary 'operator%'
#define mod 1e6+3
^
0_0_17955765_24178.cpp:47:48: note: in expansion of macro 'mod'
ans[i]+=((c[a[j]][k]*c[n-a[j]][i-k])%mod*((1<<j))%mod);
^
0_0_17955765_24178.cpp:2:14: error: invalid operands of types 'int' and 'double' to binary 'operator%'
#define mod 1e6+3
^
0_0_17955765_24178.cpp:47:61: note: in expansion of macro 'mod'
ans[i]+=((c[a[j]][k]*c[n-a[j]][i-k])%mod*((1<<j))%mod);
^
0_0_17955765_24178.cpp:48:17: error: invalid operands of types 'long long int' and 'double' to binary 'operator%'
ans[i]%=mod;
^
0_0_17955765_24178.cpp:48:17: error: in evaluation of 'operator%=(long long int, double)'
0_0_17955765_24178.cpp:2:14: error: invalid operands of types 'long long int' and 'double' to binary 'operator%'
#define mod 1e6+3
^
0_0_17955765_24178.cpp:51:38: note: in expansion of macro 'mod'
if(i==1)printf("%lld",ans[i]%mod);
^
0_0_17955765_24178.cpp:2:14: error: invalid operands of types 'long long int' and 'double' to binary 'operator%'
#define mod 1e6+3
^
0_0_17955765_24178.cpp:52:36: note: in expansion of macro 'mod'
else printf(" %lld",ans[i]%mod);
^
|