0_0_24203976_4115.cpp: In function 'int main()': 0_0_24203976_4115.cpp:42:4: error: 'f' was not declared in this scope f=ceil(log10(N)); ^