0_0_38442169_8055.cpp:11:28: error: 'acos' was not declared in this scope
const double pi = acos(-1.0);
^
0_0_38442169_8055.cpp: In function 'int read()':
0_0_38442169_8055.cpp:17:23: error: 'isdigit' was not declared in this scope
while (!isdigit(ch)) {
^
0_0_38442169_8055.cpp:19:22: error: 'getchar' was not declared in this scope
ch = getchar();
^
0_0_38442169_8055.cpp:21:22: error: 'isdigit' was not declared in this scope
while (isdigit(ch)) {
^
0_0_38442169_8055.cpp:23:22: error: 'getchar' was not declared in this scope
ch = getchar();
^
0_0_38442169_8055.cpp: In function 'int main()':
0_0_38442169_8055.cpp:49:9: error: 'clock_t' was not declared in this scope
clock_t start, finish;start = clock();
^
0_0_38442169_8055.cpp:49:31: error: 'start' was not declared in this scope
clock_t start, finish;start = clock();
^
0_0_38442169_8055.cpp:49:45: error: 'clock' was not declared in this scope
clock_t start, finish;start = clock();
^
0_0_38442169_8055.cpp:56:43: error: 'sort' was not declared in this scope
sort(times + 1, times + n + 1, cmp);
^
0_0_38442169_8055.cpp:82:44: error: 'min' was not declared in this scope
printf("%d\n", min(ans + 1, sum + 1));
^
0_0_38442169_8055.cpp:82:45: error: 'printf' was not declared in this scope
printf("%d\n", min(ans + 1, sum + 1));
^
0_0_38442169_8055.cpp:84:9: error: 'finish' was not declared in this scope
finish = clock();
^
0_0_38442169_8055.cpp:85:9: error: 'cout' was not declared in this scope
cout<<(double)(finish - start) / CLOCKS_PER_SEC;
^
0_0_38442169_8055.cpp:85:42: error: 'CLOCKS_PER_SEC' was not declared in this scope
cout<<(double)(finish - start) / CLOCKS_PER_SEC;
^
|