0_0_33617534_9354.cpp:5:28: error: 'acos' was not declared in this scope
const double pi = acos(-1.0);
^
0_0_33617534_9354.cpp: In function 'std::pair<double, double> get_point(const std::pair<double, double>&, const double&)':
0_0_33617534_9354.cpp:11:39: error: 'cos' was not declared in this scope
return make_pair(a.first * cos(rad) - (a.second - h / 3) * sin(rad), a.first * sin(rad) + (a.second - h / 3) * cos(rad) + h / 3);
^
0_0_33617534_9354.cpp:11:71: error: 'sin' was not declared in this scope
return make_pair(a.first * cos(rad) - (a.second - h / 3) * sin(rad), a.first * sin(rad) + (a.second - h / 3) * cos(rad) + h / 3);
^
0_0_33617534_9354.cpp: In function 'bool ck(double)':
0_0_33617534_9354.cpp:16:97: error: 'floor' was not declared in this scope
has += abs(floor(get_point(make_pair(sx + vx * times, sy + vy * times), base * 0).second / h));
^
0_0_33617534_9354.cpp: In function 'int main()':
0_0_33617534_9354.cpp:25:23: error: 'sqrt' was not declared in this scope
h = L * sqrt(3) / 2;
^
|