0_0_18823391_27559.cpp: In function 'int main()': 0_0_18823391_27559.cpp:32:3: error: 'k' was not declared in this scope k=(a[i]-a[i-1])/min(lim,double(a[i]-a[i-1])); ^