0_0_37942776_4015.cpp:34:28: error: 'acos' was not declared in this scope
const double pi = acos(-1.0);
^
0_0_37942776_4015.cpp:40:30: error: 'sqrt' was not declared in this scope
const double gold = (sqrt(5.0) - 1) / 2;
^
0_0_37942776_4015.cpp: In function 'void resolve()':
0_0_37942776_4015.cpp:80:40: error: 'memset' was not declared in this scope
memset(head, -1, sizeof(int) * (n + 5));
^
|