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_38819833_26079.cpp: In function 'bool judge(sticks, sticks)':
0_0_38819833_26079.cpp:14:41: error: 'amp' was not declared in this scope
   14 |         return (banana>max(s1.x1,s2.x1)&&banana<min(s1.x2,s2.x2))?true:false;
      |                                         ^~~
0_0_38819833_26079.cpp:14:44: error: expected ')' before ';' token
   14 |         return (banana>max(s1.x1,s2.x1)&&banana<min(s1.x2,s2.x2))?true:false;
      |                ~                           ^
      |                                            )
0_0_38819833_26079.cpp:14:73: error: expected ';' before ')' token
   14 |         return (banana>max(s1.x1,s2.x1)&&banana<min(s1.x2,s2.x2))?true:false;
      |                                                                         ^
      |                                                                         ;


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-23 03:30:33, Gzip enabled