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_34405688_11604.cpp:8:15: error: 'vold' does not name a type
 int cmp(const vold* a,const vold*b)
               ^
0_0_34405688_11604.cpp:8:29: error: 'vold' does not name a type
 int cmp(const vold* a,const vold*b)
                             ^
0_0_34405688_11604.cpp: In function 'int main()':
0_0_34405688_11604.cpp:26:49: error: expected unqualified-id before '&' token
                        scanf("%d%d",&nodes[i].j.&nodes[i].f);
                                                 ^
0_0_34405688_11604.cpp:29:43: error: expected primary-expression before 'struct'
                       qsort(nodes,n,sizef(struct Node),cmp);
                                           ^
0_0_34405688_11604.cpp:29:54: error: 'sizef' was not declared in this scope
                       qsort(nodes,n,sizef(struct Node),cmp);
                                                      ^
0_0_34405688_11604.cpp:40:80: error: expected ';' before 'f'
                                          p+=m*(((double)nodes[i].j)/nodes[i].f)f;
                                                                                ^
0_0_34405688_11604.cpp:45:40: error: request for member 'p' in '"%.3|f\012"', which is of non-class type 'const char [7]'
                       printf("%.3|f\n".p);
                                        ^


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-10-06 07:17:05, Gzip enabled