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_20778866_13997.cpp:5:11: error: 'x' was not declared in this scope
 double ac(x,y)
           ^
0_0_20778866_13997.cpp:5:13: error: 'y' was not declared in this scope
 double ac(x,y)
             ^
0_0_20778866_13997.cpp:5:14: error: expression list treated as compound expression in initializer [-fpermissive]
 double ac(x,y)
              ^
0_0_20778866_13997.cpp:6:1: error: expected ',' or ';' before '{' token
 {
 ^
0_0_20778866_13997.cpp: In function 'int main()':
0_0_20778866_13997.cpp:23:25: error: 'ac' cannot be used as a function
           Min=Min<ac(i,j)?Min:ac(i,j);
                         ^
0_0_20778866_13997.cpp:23:37: error: 'ac' cannot be used as a function
           Min=Min<ac(i,j)?Min:ac(i,j);
                                     ^
0_0_20778866_13997.cpp:28:18: error: 'ac' cannot be used as a function
         if(ac(i,j)==Min)
                  ^


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-12-02 15:44:08, Gzip enabled