0_0_34362916_22310.cpp: In function 'int main()': 0_0_34362916_22310.cpp:23:9: error: 't' was not declared in this scope c+=(t[i]-t[i-1]-1)*b; ^