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_18157799_9274.cpp: In function 'int main()':
0_0_18157799_9274.cpp:5:8: error: 'cin' was not declared in this scope
  while(cin>>n>>m){
        ^
0_0_18157799_9274.cpp:19:41: error: 'aveStudent' was not declared in this scope
    ave_student[i]=aveStudent(student,i,m);
                                         ^
0_0_18157799_9274.cpp:22:41: error: 'aveSubject' was not declared in this scope
    ave_subject[i]=aveSubject(student,n,i);
                                         ^
0_0_18157799_9274.cpp:25:4: error: 'cout' was not declared in this scope
    cout<<fixed;
    ^
0_0_18157799_9274.cpp:25:10: error: 'fixed' was not declared in this scope
    cout<<fixed;
          ^
0_0_18157799_9274.cpp:30:22: error: 'endl' was not declared in this scope
     if(i==n-1) cout<<endl;
                      ^
0_0_18157799_9274.cpp:36:22: error: 'endl' was not declared in this scope
     if(i==n-1) cout<<endl;
                      ^
0_0_18157799_9274.cpp:47:17: error: 'endl' was not declared in this scope
    cout<<count<<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 11:43:21, Gzip enabled