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_28858962_5778.cpp: In function 'int main()':
0_0_28858962_5778.cpp:26:13: error: 'p' was not declared in this scope
             p[i]=sum1/m;
             ^
0_0_28858962_5778.cpp:33:13: error: 'k' was not declared in this scope
             k[j]=sum2/n;
             ^
0_0_28858962_5778.cpp:38:31: error: 'k' was not declared in this scope
                 if(num[i][j]>=k[j]){
                               ^
0_0_28858962_5778.cpp:46:61: error: 'p' was not declared in this scope
             cout<<setiosflags(ios::fixed)<<setprecision(2)<<p[i]<<" ";
                                                             ^
0_0_28858962_5778.cpp:47:57: error: 'p' was not declared in this scope
         cout<<setiosflags(ios::fixed)<<setprecision(2)<<p[n-1]<<endl;
                                                         ^
0_0_28858962_5778.cpp:49:61: error: 'k' was not declared in this scope
             cout<<setiosflags(ios::fixed)<<setprecision(2)<<k[i]<<" ";
                                                             ^
0_0_28858962_5778.cpp:50:57: error: 'k' was not declared in this scope
         cout<<setiosflags(ios::fixed)<<setprecision(2)<<k[m-1]<<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-11-23 03:59:05, Gzip enabled