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_38549283_5167.cpp: In function 'void push_down(int)':
0_0_38549283_5167.cpp:21:31: error: 'swap' was not declared in this scope
     swap(tr[k].s[1],tr[k].s[0]);
                               ^
0_0_38549283_5167.cpp: In function 'int main()':
0_0_38549283_5167.cpp:71:22: error: 'scanf' was not declared in this scope
         scanf("%d",&n);
                      ^
0_0_38549283_5167.cpp:73:31: error: 'memset' was not declared in this scope
         memset(tr,0,sizeof(tr));
                               ^
0_0_38549283_5167.cpp:80:27: error: 'sort' was not declared in this scope
         sort(a+1,a+n+3,cmp);
                           ^
0_0_38549283_5167.cpp:86:31: error: 'printf' was not declared in this scope
             printf("%d ",ans-1);
                               ^
0_0_38549283_5167.cpp:89:24: error: 'printf' was not declared in this scope
         printf("%d\n",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-10-03 04:40:45, Gzip enabled