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_23218813_30992.cpp: In function 'int main()':
0_0_23218813_30992.cpp:55:29: error: 'scanf' was not declared in this scope
         scanf("%d%d", &n, &m);
                             ^
0_0_23218813_30992.cpp:61:30: error: 'sort' was not declared in this scope
         sort(Hash+1, Hash+n+1);
                              ^
0_0_23218813_30992.cpp:62:38: error: 'unique' was not declared in this scope
         int d=unique(Hash+1, Hash+n+1)-Hash-1;
                                      ^
0_0_23218813_30992.cpp:66:53: error: 'lower_bound' was not declared in this scope
             int x=lower_bound(Hash+1, Hash+d+1, a[i])-Hash;
                                                     ^
0_0_23218813_30992.cpp:74:35: error: 'printf' was not declared in this scope
             printf("%d\n", Hash[x]);
                                   ^


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-11-28 14:15:26, Gzip enabled