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_15068940_5686.cpp:30:9: error: stray '\243' in program
         int n,m£»
         ^
0_0_15068940_5686.cpp:30:9: error: stray '\273' in program
0_0_15068940_5686.cpp: In function 'int main()':
0_0_15068940_5686.cpp:31:9: error: expected initializer before 'double'
         double max1=0,max2=0;
         ^
0_0_15068940_5686.cpp:33:26: error: 'm' was not declared in this scope
         scanf("%d%d",&n,&m);
                          ^
0_0_15068940_5686.cpp:37:33: error: 'max1' was not declared in this scope
             if(line[i].grade_st>max1)
                                 ^
0_0_15068940_5686.cpp:39:33: error: 'max2' was not declared in this scope
             if(line[i].grade_ed>max2)
                                 ^
0_0_15068940_5686.cpp:44:28: error: 'max1' was not declared in this scope
         double temp1=300.0/max1,temp2=300.0/max2;
                            ^
0_0_15068940_5686.cpp:47:71: error: 'temp2' was not declared in this scope
             line[i].grade=line[i].grade_st*temp1*0.3+line[i].grade_ed*temp2*0.7;
                                                                       ^


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-30 01:06:39, Gzip enabled