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_25597905_9420.cpp:22:5: error: expected ';' after struct definition
     }
     ^
0_0_25597905_9420.cpp:23:38: error: non-member function 'long long int operator*(const point&)' cannot have cv-qualifier
     LL operator *(const point &a    )const{
                                      ^
0_0_25597905_9420.cpp: In function 'long long int operator*(const point&)':
0_0_25597905_9420.cpp:24:20: error: 'x' was not declared in this scope
         return 1LL*x*a.y-1LL*y*a.x;
                    ^
0_0_25597905_9420.cpp:24:30: error: 'y' was not declared in this scope
         return 1LL*x*a.y-1LL*y*a.x;
                              ^
0_0_25597905_9420.cpp: At global scope:
0_0_25597905_9420.cpp:26:36: error: non-member function 'bool operator<(const point&)' cannot have cv-qualifier
     bool operator <(const point &a)const{
                                    ^
0_0_25597905_9420.cpp:26:36: error: 'bool operator<(const point&)' must take exactly two arguments
0_0_25597905_9420.cpp:31:1: error: expected declaration before '}' token
 };
 ^


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-25 09:31:06, Gzip enabled