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_20600513_23475.cpp: In function 'int main()':
0_0_20600513_23475.cpp:6:5: error: 'cin' was not declared in this scope
     cin>>casn;  
     ^
0_0_20600513_23475.cpp:10:22: error: 'scanf' was not declared in this scope
         scanf("%d",&n);  
                      ^
0_0_20600513_23475.cpp:12:25: error: 'a' was not declared in this scope
             scanf("%X",&a[j]);  
                         ^
0_0_20600513_23475.cpp:13:17: error: 'inf' was not declared in this scope
         int ans=inf;  
                 ^
0_0_20600513_23475.cpp:16:27: error: 'rand' was not declared in this scope
             int idx1=rand()%n;  
                           ^
0_0_20600513_23475.cpp:19:21: error: 'a' was not declared in this scope
             int val=a[idx1]^a[idx2];  
                     ^
0_0_20600513_23475.cpp:20:49: error: 'min' was not declared in this scope
             ans=min(ans,__builtin_popcountl(val));  
                                                 ^
0_0_20600513_23475.cpp:22:9: error: 'cout' was not declared in this scope
         cout<<ans<<endl;  
         ^
0_0_20600513_23475.cpp:22:20: error: 'endl' was not declared in this scope
         cout<<ans<<endl;  
                    ^


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-09-28 14:11:40, Gzip enabled