0_0_30450645_4428.cpp: In function 'int main()': 0_0_30450645_4428.cpp:15:32: error: 'ceil' was not declared in this scope int top = (int)ceil(b*1.0 / 3); ^