0_0_14172519_27923.cpp: In function 'int main()': 0_0_14172519_27923.cpp:30:32: error: invalid operands of types 'll* {aka long long int*}' and 'int' to binary 'operator*' r[i]=r[min(m,i+k)]+(l-p[i])*2; ^