0_0_14172512_1836.cpp: In function 'int main()': 0_0_14172512_1836.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; ^