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_13726398_9956.cpp:1:10: error: #include expects "FILENAME" or <FILENAME>
 #include 
          ^
0_0_13726398_9956.cpp:2:10: error: #include expects "FILENAME" or <FILENAME>
 #include 
          ^
0_0_13726398_9956.cpp:3:10: error: #include expects "FILENAME" or <FILENAME>
 #include 
          ^
0_0_13726398_9956.cpp:4:10: error: #include expects "FILENAME" or <FILENAME>
 #include 
          ^
0_0_13726398_9956.cpp:5:10: error: #include expects "FILENAME" or <FILENAME>
 #include 
          ^
0_0_13726398_9956.cpp: In member function 'void Point::Read()':
0_0_13726398_9956.cpp:20:40: error: 'scanf' was not declared in this scope
         scanf("%lf%lf%lf",&x,&y,&weight);
                                        ^
0_0_13726398_9956.cpp: In function 'int main()':
0_0_13726398_9956.cpp:33:19: error: 'srand' was not declared in this scope
     srand(19980531);
                   ^
0_0_13726398_9956.cpp:34:5: error: 'cin' was not declared in this scope
     cin  points;
     ^
0_0_13726398_9956.cpp:36:9: error: expected ';' before 'point'
         point[i].Read();
         ^
0_0_13726398_9956.cpp:36:24: error: expected ')' before ';' token
         point[i].Read();
                        ^
0_0_13726398_9956.cpp:37:24: error: 'i' was not declared in this scope
         now.x += point[i].x;
                        ^
0_0_13726398_9956.cpp: At global scope:
0_0_13726398_9956.cpp:40:5: error: 'now' does not name a type
     now.x /= points,now.y /= points;
     ^
0_0_13726398_9956.cpp:41:5: error: 'ans' does not name a type
     ans.total_weight = INF;
     ^
0_0_13726398_9956.cpp:42:25: error: expected constructor, destructor, or type conversion before ';' token
     SinulatedAnnealing();
                         ^
0_0_13726398_9956.cpp:43:11: error: expected constructor, destructor, or type conversion before '(' token
     printf("%.3lf %.3lf\n",ans.x,ans.y);
           ^
0_0_13726398_9956.cpp:44:5: error: expected unqualified-id before 'return'
     return 0;
     ^
0_0_13726398_9956.cpp:45: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-07-01 11:12:05, Gzip enabled