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_24973867_3047.cpp:27:17: error: stray '@' in program
                 @Override
                 ^
0_0_24973867_3047.cpp:1:1: error: 'import' does not name a type
 import java.math.BigDecimal;
 ^
0_0_24973867_3047.cpp:2:1: error: 'import' does not name a type
 import java.util.*;
 ^
0_0_24973867_3047.cpp:11:1: error: expected ';' after class definition
 }
 ^
0_0_24973867_3047.cpp: In constructor 'pxy::pxy(double, double)':
0_0_24973867_3047.cpp:6:14: error: request for member 'x' in '(pxy*)this', which is of pointer type 'pxy*' (maybe you meant to use '->' ?)
         this.x=x;
              ^
0_0_24973867_3047.cpp:7:14: error: request for member 'y' in '(pxy*)this', which is of pointer type 'pxy*' (maybe you meant to use '->' ?)
         this.y=y;
              ^
0_0_24973867_3047.cpp: At global scope:
0_0_24973867_3047.cpp:13:1: error: expected unqualified-id before 'public'
 public class m1007 {
 ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2025 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.001000(s) query 1, Server time : 2025-01-10 13:03:43, Gzip enabled