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_36749901_25048.cpp: In function 'int main()':
0_0_36749901_25048.cpp:4:2: error: 'cin' was not declared in this scope
  cin>>n>>m;
  ^
0_0_36749901_25048.cpp:16:12: error: 'cout' was not declared in this scope
   if(i!=0){cout<<" ";}
            ^
0_0_36749901_25048.cpp:17:3: error: 'cout' was not declared in this scope
   cout<<fixed<< setprecision(2)<<b/(double)m;
   ^
0_0_36749901_25048.cpp:17:9: error: 'fixed' was not declared in this scope
   cout<<fixed<< setprecision(2)<<b/(double)m;
         ^
0_0_36749901_25048.cpp:17:31: error: 'setprecision' was not declared in this scope
   cout<<fixed<< setprecision(2)<<b/(double)m;
                               ^
0_0_36749901_25048.cpp:19:2: error: 'cout' was not declared in this scope
  cout<<endl;
  ^
0_0_36749901_25048.cpp:19:8: error: 'endl' was not declared in this scope
  cout<<endl;
        ^
0_0_36749901_25048.cpp:26:10: error: 'fixed' was not declared in this scope
    cout<<fixed<< setprecision(2)<<b/(double)m;
          ^
0_0_36749901_25048.cpp:26:32: error: 'setprecision' was not declared in this scope
    cout<<fixed<< setprecision(2)<<b/(double)m;
                                ^


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-17 12:45:00, Gzip enabled