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_33209634_20923.cpp: In function 'double dis(Point)':
0_0_33209634_20923.cpp:10:6: error: 'i' was not declared in this scope
  rep(i,1,n){
      ^
0_0_33209634_20923.cpp:10:11: error: 'rep' was not declared in this scope
  rep(i,1,n){
           ^
0_0_33209634_20923.cpp:14:15: error: 'sqrt' was not declared in this scope
  return sqrt(d);
               ^
0_0_33209634_20923.cpp: In function 'int main()':
0_0_33209634_20923.cpp:18:13: error: 'srand' was not declared in this scope
  srand(49999);
             ^
0_0_33209634_20923.cpp:19:32: error: 'scanf' was not declared in this scope
  while(~scanf("%d%d%d",&x,&y,&n)){
                                ^
0_0_33209634_20923.cpp:20:7: error: 'i' was not declared in this scope
   rep(i,0,n){
       ^
0_0_33209634_20923.cpp:20:12: error: 'rep' was not declared in this scope
   rep(i,0,n){
            ^
0_0_33209634_20923.cpp:49:55: error: 'printf' was not declared in this scope
   printf("(%.1lf,%.1lf).\n%.1lf\n",p[id].x,p[id].y,ans);
                                                       ^


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-23 00:44:50, Gzip enabled