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_30484080_22759.cpp: In function 'int main()':
0_0_30484080_22759.cpp:6:2: error: 'cin' was not declared in this scope
  cin>>m;
  ^
0_0_30484080_22759.cpp:31:2: error: 'cout' was not declared in this scope
  cout<<fixed<<setprecision(2)<<sum/(m-2)<<endl;
  ^
0_0_30484080_22759.cpp:31:8: error: 'fixed' was not declared in this scope
  cout<<fixed<<setprecision(2)<<sum/(m-2)<<endl;
        ^
0_0_30484080_22759.cpp:31:29: error: 'setprecision' was not declared in this scope
  cout<<fixed<<setprecision(2)<<sum/(m-2)<<endl;
                             ^
0_0_30484080_22759.cpp:31:43: error: 'endl' was not declared in this scope
  cout<<fixed<<setprecision(2)<<sum/(m-2)<<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-10-05 20:15:47, Gzip enabled