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_22029498_29942.cpp:3:1: error: 'cosnt' does not name a type
 cosnt int maxn = 205;
 ^
0_0_22029498_29942.cpp:8:7: error: 'maxn' was not declared in this scope
 }circ[maxn];
       ^
0_0_22029498_29942.cpp:10:12: error: 'maxn' was not declared in this scope
 double ang[maxn*10];
            ^
0_0_22029498_29942.cpp: In function 'double cal(double)':
0_0_22029498_29942.cpp:16:2: error: 'ans' was not declared in this scope
  ans = 0;
  ^
0_0_22029498_29942.cpp:18:14: error: 'circ' was not declared in this scope
   double x = circ[i].x * cos(Ang) + circ[i].y * sin(Ang);//判断角度和圆心在同一个象限
              ^
0_0_22029498_29942.cpp: In function 'int main()':
0_0_22029498_29942.cpp:27:51: error: 'circ' was not declared in this scope
   for (int i = 0; i <= n; i++) scanf("%lf%lf%lf",&circ[i].x,&circ[i].y,&circ[i].r);
                                                   ^
0_0_22029498_29942.cpp:29:3: error: 'ang' was not declared in this scope
   ang[m++] = Pi, ang[m++] = -Pi;
   ^
0_0_22029498_29942.cpp:31:24: error: 'circ' was not declared in this scope
    double acen = atan2(circ[i].y,circ[i].x);
                        ^
0_0_22029498_29942.cpp:53:22: error: 'antr' was not declared in this scope
     if (dbcmp(antl - antr) >= 0) {
                      ^


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.000000(s) query 1, Server time : 2025-02-18 17:52:40, Gzip enabled