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_21633123_4692.cpp: In function 'bool NormalLineToPolarLine(double, double, double)':
0_0_21633123_4692.cpp:97:26: error: 'y' was not declared in this scope
     double thita = atan2(y/x);
                          ^
0_0_21633123_4692.cpp:97:28: error: 'x' was not declared in this scope
     double thita = atan2(y/x);
                            ^
0_0_21633123_4692.cpp: In function 'double ChangeToRad(double)':
0_0_21633123_4692.cpp:254:8: error: redefinition of 'double ChangeToRad(double)'
 double ChangeToRad(double rad){
        ^
0_0_21633123_4692.cpp:250:8: note: 'double ChangeToRad(double)' previously defined here
 double ChangeToRad(double deg) {
        ^
0_0_21633123_4692.cpp: In function 'int main()':
0_0_21633123_4692.cpp:321:10: error: expected ')' before 'printf'
          printf("%d\n", a+b);
          ^


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-27 00:48:51, Gzip enabled