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_29468859_28344.cpp: In function 'int main()':
0_0_29468859_28344.cpp:41:38: error: 'scanf' was not declared in this scope
         while(scanf("%d%d%d",&n,&k,&m)!=EOF)
                                      ^
0_0_29468859_28344.cpp:41:41: error: 'EOF' was not declared in this scope
         while(scanf("%d%d%d",&n,&k,&m)!=EOF)
                                         ^
0_0_29468859_28344.cpp:44:37: error: 'memset' was not declared in this scope
             memset(num,0,sizeof(num));
                                     ^
0_0_29468859_28344.cpp:48:33: error: 'sort' was not declared in this scope
             sort(po+1,po+m+1,cmp);
                                 ^
0_0_29468859_28344.cpp:63:34: error: 'max' was not declared in this scope
                 ans=max(ans,fx-fy);
                                  ^
0_0_29468859_28344.cpp:65:32: error: 'printf' was not declared in this scope
             printf("%lld\n",ans);
                                ^


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 06:23:35, Gzip enabled