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_29173056_26455.cpp:92:12: error: 'p' was not declared in this scope
 double Dis(p a, p b) {
            ^
0_0_29173056_26455.cpp:92:17: error: 'p' was not declared in this scope
 double Dis(p a, p b) {
                 ^
0_0_29173056_26455.cpp:92:20: error: expression list treated as compound expression in initializer [-fpermissive]
 double Dis(p a, p b) {
                    ^
0_0_29173056_26455.cpp:92:22: error: expected ',' or ';' before '{' token
 double Dis(p a, p b) {
                      ^
0_0_29173056_26455.cpp: In function 'int main()':
0_0_29173056_26455.cpp:145:30: error: 'Dis' cannot be used as a function
     double d = Dis(a[i], a[j]);
                              ^


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-17 02:36:12, Gzip enabled