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_29217960_16299.cpp: In function 'int comp(const void*, const void*)':
0_0_29217960_16299.cpp:17:21: error: expected ')' before 'J'
   if(a->J/(a->F*1.0)J/(b->F*1.0))
                     ^
0_0_29217960_16299.cpp: In function 'int main()':
0_0_29217960_16299.cpp:31:3: error: expected ';' before '{' token
   {             
   ^
0_0_29217960_16299.cpp:31:3: error: expected primary-expression before '{' token
0_0_29217960_16299.cpp:31:3: error: expected ')' before '{' token
0_0_29217960_16299.cpp:36:7: error: 'i' was not declared in this scope
   for(i=0;i
       ^
0_0_29217960_16299.cpp:37:3: error: expected ';' before '{' token
   {             
   ^
0_0_29217960_16299.cpp:37:3: error: expected primary-expression before '{' token
0_0_29217960_16299.cpp:37:3: error: expected ')' before '{' token
0_0_29217960_16299.cpp:43:6: error: 'i' was not declared in this scope
   if(i
      ^
0_0_29217960_16299.cpp:44:4: error: expected ')' before 'Sum'
    Sum+=M*((test[i].J*1.0)/test[i].F);         
    ^


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-19 02:27:24, Gzip enabled