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_13813178_1261.cpp:1:10: error: #include expects "FILENAME" or <FILENAME>
 #include 
          ^
0_0_13813178_1261.cpp:2:10: error: #include expects "FILENAME" or <FILENAME>
 #include 
          ^
0_0_13813178_1261.cpp:3:10: error: #include expects "FILENAME" or <FILENAME>
 #include 
          ^
0_0_13813178_1261.cpp:4:10: error: #include expects "FILENAME" or <FILENAME>
 #include 
          ^
0_0_13813178_1261.cpp:5:10: error: #include expects "FILENAME" or <FILENAME>
 #include 
          ^
0_0_13813178_1261.cpp: In member function 'void Complex::Read()':
0_0_13813178_1261.cpp:16:38: error: 'scanf' was not declared in this scope
         scanf("%lf%lf%lf",&v1,&v2,&v3);
                                      ^
0_0_13813178_1261.cpp: At global scope:
0_0_13813178_1261.cpp:40:9: error: expected type-specifier before 'return'
         return alpha 
         ^
0_0_13813178_1261.cpp:35:1: error: new types may not be defined in a return type
 struct Line{
 ^
0_0_13813178_1261.cpp:35:1: note: (perhaps a semicolon is missing after the definition of 'Line')
0_0_13813178_1261.cpp: In function 'Line Line(Point, Point)':
0_0_13813178_1261.cpp:42:28: error: only constructors take member initializers
     Line(Point _,Point __):p(_),v(__) {
                            ^
0_0_13813178_1261.cpp:43:9: error: 'alpha' was not declared in this scope
         alpha = atan2(v.y,v.x);
         ^
0_0_13813178_1261.cpp:43:23: error: 'v' was not declared in this scope
         alpha = atan2(v.y,v.x);
                       ^
0_0_13813178_1261.cpp:43:30: error: 'atan2' was not declared in this scope
         alpha = atan2(v.y,v.x);
                              ^
0_0_13813178_1261.cpp: At global scope:
0_0_13813178_1261.cpp:46:1: error: expected declaration before '}' token
 }line[MAX],q[MAX];
 ^


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-24 18:38:39, Gzip enabled