0_0_32312588_24481.cpp: In function 'int main()':
0_0_32312588_24481.cpp:36:4: error: 'to' was not declared in this scope
to[a]=b;
^
0_0_32312588_24481.cpp:38:17: error: 'to' was not declared in this scope
mem(dp,0);mem(to,-1);
^
0_0_32312588_24481.cpp:10:26: note: in definition of macro 'mem'
#define mem(a,x) memset((a),(x),sizeof(a))
^
0_0_32312588_24481.cpp:41:32: error: invalid operands of types 'double [100005]' and 'double' to binary 'operator/'
REP (j,1,6) dp[i]+=dp[i+j]/6.0;
^
0_0_32312588_24481.cpp:42:10: error: incompatible types in assignment of 'int' to 'double [100005]'
dp[i]+=1;
^
|