Run id: 90870

Main.cc: In function 'bool is_prime(int)':
Main.cc:6:31: error: 'sqrt' was not declared in this scope
     while(i <= sqrt(float(tar))){
                               ^