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_20623570_2801.cpp: In function 'int main()':
0_0_20623570_2801.cpp:5:5: error: 'ios' has not been declared
     ios::sync_with_stdio(false);
     ^
0_0_20623570_2801.cpp:8:11: error: 'cin' was not declared in this scope
     while(cin>>n>>m)
           ^
0_0_20623570_2801.cpp:10:38: error: 'memset' was not declared in this scope
         memset(ave,0,sizeof(double)*5);
                                      ^
0_0_20623570_2801.cpp:26:13: error: 'cout' was not declared in this scope
             cout<<fixed << setprecision(2)<<ave2[i];
             ^
0_0_20623570_2801.cpp:26:19: error: 'fixed' was not declared in this scope
             cout<<fixed << setprecision(2)<<ave2[i];
                   ^
0_0_20623570_2801.cpp:26:42: error: 'setprecision' was not declared in this scope
             cout<<fixed << setprecision(2)<<ave2[i];
                                          ^
0_0_20623570_2801.cpp:30:9: error: 'cout' was not declared in this scope
         cout<<endl;
         ^
0_0_20623570_2801.cpp:30:15: error: 'endl' was not declared in this scope
         cout<<endl;
               ^
0_0_20623570_2801.cpp:35:19: error: 'fixed' was not declared in this scope
             cout<<fixed << setprecision(2)<<ave[i];
                   ^
0_0_20623570_2801.cpp:35:42: error: 'setprecision' was not declared in this scope
             cout<<fixed << setprecision(2)<<ave[i];
                                          ^


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-03 19:36:28, Gzip enabled