F.A.Q
Hand In Hand
Online Acmers
Problem Archive
Realtime Judge Status
Authors Ranklist
 
     C/C++/Java Exams     
ACM Steps
Go to Job
Contest LiveCast
ICPC@China
Best Coder beta
VIP | STD Contests
    DIY | Web-DIY beta
Author ID 
Password 
 Register new ID

View Compilation Error

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;
                                          ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2024 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2024-12-02 08:33:27, Gzip enabled