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_29718340_22027.cpp: In function 'int main()':
0_0_29718340_22027.cpp:3:2: error: 'cin' was not declared in this scope
  cin>>N;
  ^
0_0_29718340_22027.cpp:9:12: error: 'm' was not declared in this scope
       cin>>m[i];
            ^
0_0_29718340_22027.cpp:18:7: error: 'm' was not declared in this scope
    if(m[i]<=p)
       ^
0_0_29718340_22027.cpp:22:3: error: 'cout' was not declared in this scope
   cout<<b<<" "<<fixed<<setprecision(2)<<c<<endl;
   ^
0_0_29718340_22027.cpp:22:17: error: 'fixed' was not declared in this scope
   cout<<b<<" "<<fixed<<setprecision(2)<<c<<endl;
                 ^
0_0_29718340_22027.cpp:22:38: error: 'setprecision' was not declared in this scope
   cout<<b<<" "<<fixed<<setprecision(2)<<c<<endl;
                                      ^
0_0_29718340_22027.cpp:22:44: error: 'endl' was not declared in this scope
   cout<<b<<" "<<fixed<<setprecision(2)<<c<<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-12-05 05:06:24, Gzip enabled