Main.cc: In function ‘int main()’: Main.cc:7:24: error: expected primary-expression before ‘double’ long long num=ceil(double sqrt(m)); ^~~~~~ Main.cc:6:12: warning: unused variable ‘m’ [-Wunused-variable] double m=n*1.0; ^