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_20778325_13986.cpp: In member function 'int DLX::h()':
0_0_20778325_13986.cpp:30:36: error: 'memset' was not declared in this scope
         memset(vis, 0 , sizeof(vis));
                                    ^
0_0_20778325_13986.cpp: In member function 'void DLX::dfs(const int&)':
0_0_20778325_13986.cpp:46:30: error: 'min' is not a member of 'std'
             if(!R[0])  ret = std::min(ret , k) ;
                              ^
0_0_20778325_13986.cpp: In member function 'void DLX::init(int)':
0_0_20778325_13986.cpp:94:30: error: 'memset' was not declared in this scope
         memset(H,-1,sizeof(H));
                              ^
0_0_20778325_13986.cpp: In function 'int main()':
0_0_20778325_13986.cpp:133:7: error: 'cin' was not declared in this scope
       cin>>t ;
       ^
0_0_20778325_13986.cpp:135:34: error: 'scanf' was not declared in this scope
            scanf("%d%d" , &n , &k) ;
                                  ^
0_0_20778325_13986.cpp:144:24: error: 'sort' was not declared in this scope
            sort(a , a+m) ;
                        ^
0_0_20778325_13986.cpp:145:30: error: 'unique' was not declared in this scope
            m = unique(a , a+m) - a ;
                              ^
0_0_20778325_13986.cpp:146:51: error: 'printf' was not declared in this scope
            printf("Case #%d: %I64d\n" , T++ , bs()) ;
                                                   ^


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-26 21:53:44, Gzip enabled