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_38079010_17473.cpp: In function 'int main()':
0_0_38079010_17473.cpp:28:19: error: 'scanf' was not declared in this scope
     scanf("%d", &t);
                   ^
0_0_38079010_17473.cpp:37:26: error: 'sort' was not declared in this scope
         sort(a + 1, a + 5);    //ลละ๒
                          ^
0_0_38079010_17473.cpp:41:55: error: 'lower_bound' was not declared in this scope
             x[i] = 2 * (lower_bound(a + 1, a + 5, x[i]) - a);
                                                       ^
0_0_38079010_17473.cpp:44:33: error: 'memset' was not declared in this scope
         memset(mp, 0, sizeof(mp));
                                 ^
0_0_38079010_17473.cpp:62:9: error: 'cout' was not declared in this scope
         cout<<ans<<'\n';
         ^


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-25 19:24:26, Gzip enabled