Main.cc: In function ‘int main()’: Main.cc:11:12: error: ‘ceil’ was not declared in this scope m+=(ceil((n-1000)*1.0/500)*4); ^~~~