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_23258725_17207.cpp:4:12: error: 'doublea' was not declared in this scope
 double max(doublea,double b)
            ^
0_0_23258725_17207.cpp:4:20: error: expected primary-expression before 'double'
 double max(doublea,double b)
                    ^
0_0_23258725_17207.cpp:4:28: error: expression list treated as compound expression in initializer [-fpermissive]
 double max(doublea,double b)
                            ^
0_0_23258725_17207.cpp:6:1: error: expected ',' or ';' before '{' token
 {
 ^
0_0_23258725_17207.cpp:21:12: error: 'doublea' was not declared in this scope
 double min(doublea,double b)
            ^
0_0_23258725_17207.cpp:21:20: error: expected primary-expression before 'double'
 double min(doublea,double b)
                    ^
0_0_23258725_17207.cpp:21:28: error: expression list treated as compound expression in initializer [-fpermissive]
 double min(doublea,double b)
                            ^
0_0_23258725_17207.cpp:23:1: error: expected ',' or ';' before '{' token
 {
 ^
0_0_23258725_17207.cpp: In function 'int main()':
0_0_23258725_17207.cpp:68:13: error: 'max' cannot be used as a function
 x1=max(x1,x3);
             ^
0_0_23258725_17207.cpp:71:13: error: 'max' cannot be used as a function
 y1=max(y1,y3);
             ^
0_0_23258725_17207.cpp:74:13: error: 'min' cannot be used as a function
 x2=min(x2,x4);
             ^
0_0_23258725_17207.cpp:77:13: error: 'min' cannot be used as a function
 y2=min(y2,y4);
             ^


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-09-29 12:28:19, Gzip enabled