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_39769448_5785.cpp:19:16: error: 'dot' was not declared in this scope
   19 |         vector<dot>aa(N + 1);
      |                ^~~
0_0_39769448_5785.cpp:19:19: error: template argument 1 is invalid
   19 |         vector<dot>aa(N + 1);
      |                   ^
0_0_39769448_5785.cpp:19:19: error: template argument 2 is invalid
0_0_39769448_5785.cpp: In function 'void get(int, int, int)':
0_0_39769448_5785.cpp:24:23: error: invalid types 'int[int]' for array subscript
   24 |         double a1 = aa[b].x - aa[a].x;
      |                       ^
0_0_39769448_5785.cpp:24:33: error: invalid types 'int[int]' for array subscript
   24 |         double a1 = aa[b].x - aa[a].x;
      |                                 ^
0_0_39769448_5785.cpp:25:23: error: invalid types 'int[int]' for array subscript
   25 |         double b1 = aa[b].y - aa[a].y;
      |                       ^
0_0_39769448_5785.cpp:25:33: error: invalid types 'int[int]' for array subscript
   25 |         double b1 = aa[b].y - aa[a].y;
      |                                 ^
0_0_39769448_5785.cpp:26:24: error: invalid types 'int[int]' for array subscript
   26 |         double c1 = (aa[b].x * aa[b].x + aa[b].y * aa[b].y - aa[a].x * aa[a].x - aa[a].y * aa[a].y) / 2;
      |                        ^
0_0_39769448_5785.cpp:26:34: error: invalid types 'int[int]' for array subscript
   26 |         double c1 = (aa[b].x * aa[b].x + aa[b].y * aa[b].y - aa[a].x * aa[a].x - aa[a].y * aa[a].y) / 2;
      |                                  ^
0_0_39769448_5785.cpp:26:44: error: invalid types 'int[int]' for array subscript
   26 |         double c1 = (aa[b].x * aa[b].x + aa[b].y * aa[b].y - aa[a].x * aa[a].x - aa[a].y * aa[a].y) / 2;
      |                                            ^
0_0_39769448_5785.cpp:26:54: error: invalid types 'int[int]' for array subscript
   26 |         double c1 = (aa[b].x * aa[b].x + aa[b].y * aa[b].y - aa[a].x * aa[a].x - aa[a].y * aa[a].y) / 2;
      |                                                      ^
0_0_39769448_5785.cpp:26:64: error: invalid types 'int[int]' for array subscript
   26 |         double c1 = (aa[b].x * aa[b].x + aa[b].y * aa[b].y - aa[a].x * aa[a].x - aa[a].y * aa[a].y) / 2;
      |                                                                ^
0_0_39769448_5785.cpp:26:74: error: invalid types 'int[int]' for array subscript
   26 |         double c1 = (aa[b].x * aa[b].x + aa[b].y * aa[b].y - aa[a].x * aa[a].x - aa[a].y * aa[a].y) / 2;
      |                                                                          ^
0_0_39769448_5785.cpp:26:84: error: invalid types 'int[int]' for array subscript
   26 |         double c1 = (aa[b].x * aa[b].x + aa[b].y * aa[b].y - aa[a].x * aa[a].x - aa[a].y * aa[a].y) / 2;
      |                                                                                    ^
0_0_39769448_5785.cpp:26:94: error: invalid types 'int[int]' for array subscript
   26 |         double c1 = (aa[b].x * aa[b].x + aa[b].y * aa[b].y - aa[a].x * aa[a].x - aa[a].y * aa[a].y) / 2;
      |                                                                                              ^
0_0_39769448_5785.cpp:28:23: error: invalid types 'int[int]' for array subscript
   28 |         double a2 = aa[c].x - aa[b].x;
      |                       ^
0_0_39769448_5785.cpp:28:33: error: invalid types 'int[int]' for array subscript
   28 |         double a2 = aa[c].x - aa[b].x;
      |                                 ^
0_0_39769448_5785.cpp:29:23: error: invalid types 'int[int]' for array subscript
   29 |         double b2 = aa[c].y - aa[b].y;
      |                       ^
0_0_39769448_5785.cpp:29:33: error: invalid types 'int[int]' for array subscript
   29 |         double b2 = aa[c].y - aa[b].y;
      |                                 ^
0_0_39769448_5785.cpp:30:24: error: invalid types 'int[int]' for array subscript
   30 |         double c2 = (aa[c].x * aa[c].x + aa[c].y * aa[c].y - aa[b].x * aa[b].x - aa[b].y * aa[b].y) / 2;
      |                        ^
0_0_39769448_5785.cpp:30:34: error: invalid types 'int[int]' for array subscript
   30 |         double c2 = (aa[c].x * aa[c].x + aa[c].y * aa[c].y - aa[b].x * aa[b].x - aa[b].y * aa[b].y) / 2;
      |                                  ^
0_0_39769448_5785.cpp:30:44: error: invalid types 'int[int]' for array subscript
   30 |         double c2 = (aa[c].x * aa[c].x + aa[c].y * aa[c].y - aa[b].x * aa[b].x - aa[b].y * aa[b].y) / 2;
      |                                            ^
0_0_39769448_5785.cpp:30:54: error: invalid types 'int[int]' for array subscript
   30 |         double c2 = (aa[c].x * aa[c].x + aa[c].y * aa[c].y - aa[b].x * aa[b].x - aa[b].y * aa[b].y) / 2;
      |                                                      ^
0_0_39769448_5785.cpp:30:64: error: invalid types 'int[int]' for array subscript
   30 |         double c2 = (aa[c].x * aa[c].x + aa[c].y * aa[c].y - aa[b].x * aa[b].x - aa[b].y * aa[b].y) / 2;
      |                                                                ^
0_0_39769448_5785.cpp:30:74: error: invalid types 'int[int]' for array subscript
   30 |         double c2 = (aa[c].x * aa[c].x + aa[c].y * aa[c].y - aa[b].x * aa[b].x - aa[b].y * aa[b].y) / 2;
      |                                                                          ^
0_0_39769448_5785.cpp:30:84: error: invalid types 'int[int]' for array subscript
   30 |         double c2 = (aa[c].x * aa[c].x + aa[c].y * aa[c].y - aa[b].x * aa[b].x - aa[b].y * aa[b].y) / 2;
      |                                                                                    ^
0_0_39769448_5785.cpp:30:94: error: invalid types 'int[int]' for array subscript
   30 |         double c2 = (aa[c].x * aa[c].x + aa[c].y * aa[c].y - aa[b].x * aa[b].x - aa[b].y * aa[b].y) / 2;
      |                                                                                              ^
0_0_39769448_5785.cpp:33:21: error: invalid types 'int[int]' for array subscript
   33 |         r = sqrt((aa[a].x - x) * (aa[a].x - x) + (aa[a].y - y) * (aa[a].y - y));
      |                     ^
0_0_39769448_5785.cpp:33:37: error: invalid types 'int[int]' for array subscript
   33 |         r = sqrt((aa[a].x - x) * (aa[a].x - x) + (aa[a].y - y) * (aa[a].y - y));
      |                                     ^
0_0_39769448_5785.cpp:33:53: error: invalid types 'int[int]' for array subscript
   33 |         r = sqrt((aa[a].x - x) * (aa[a].x - x) + (aa[a].y - y) * (aa[a].y - y));
      |                                                     ^
0_0_39769448_5785.cpp:33:69: error: invalid types 'int[int]' for array subscript
   33 |         r = sqrt((aa[a].x - x) * (aa[a].x - x) + (aa[a].y - y) * (aa[a].y - y));
      |                                                                     ^
0_0_39769448_5785.cpp: In function 'void _solve()':
0_0_39769448_5785.cpp:53:36: error: invalid types 'int[int]' for array subscript
   53 |                 scanf("%lf%lf", &aa[i].x, &aa[i].y);
      |                                    ^
0_0_39769448_5785.cpp:53:46: error: invalid types 'int[int]' for array subscript
   53 |                 scanf("%lf%lf", &aa[i].x, &aa[i].y);
      |                                              ^
0_0_39769448_5785.cpp:59:47: error: invalid types 'int[int]' for array subscript
   59 |                 printf("%.8lf %.8lf %.8lf", aa[1].x - 1, aa[1].y, r);
      |                                               ^
0_0_39769448_5785.cpp:59:60: error: invalid types 'int[int]' for array subscript
   59 |                 printf("%.8lf %.8lf %.8lf", aa[1].x - 1, aa[1].y, r);
      |                                                            ^
0_0_39769448_5785.cpp:63:47: error: invalid types 'int[int]' for array subscript
   63 |                 printf("%.8lf %.8lf %.8lf", aa[1].x, aa[1].y, dist(aa[1].x, aa[1].y, aa[2].x, aa[2].y));
      |                                               ^
0_0_39769448_5785.cpp:63:56: error: invalid types 'int[int]' for array subscript
   63 |                 printf("%.8lf %.8lf %.8lf", aa[1].x, aa[1].y, dist(aa[1].x, aa[1].y, aa[2].x, aa[2].y));
      |                                                        ^
0_0_39769448_5785.cpp:63:70: error: invalid types 'int[int]' for array subscript
   63 |                 printf("%.8lf %.8lf %.8lf", aa[1].x, aa[1].y, dist(aa[1].x, aa[1].y, aa[2].x, aa[2].y));
      |                                                                      ^
0_0_39769448_5785.cpp:63:79: error: invalid types 'int[int]' for array subscript
   63 |                 printf("%.8lf %.8lf %.8lf", aa[1].x, aa[1].y, dist(aa[1].x, aa[1].y, aa[2].x, aa[2].y));
      |                                                                               ^
0_0_39769448_5785.cpp:63:88: error: invalid types 'int[int]' for array subscript
   63 |                 printf("%.8lf %.8lf %.8lf", aa[1].x, aa[1].y, dist(aa[1].x, aa[1].y, aa[2].x, aa[2].y));
      |                                                                                        ^
0_0_39769448_5785.cpp:63:97: error: invalid types 'int[int]' for array subscript
   63 |                 printf("%.8lf %.8lf %.8lf", aa[1].x, aa[1].y, dist(aa[1].x, aa[1].y, aa[2].x, aa[2].y));
      |                                                                                                 ^
0_0_39769448_5785.cpp:78:55: error: invalid types 'int[int]' for array subscript
   78 |                                 if (fabs(dist(x, y, aa[c].x, aa[c].y) - r) < eps) {
      |                                                       ^
0_0_39769448_5785.cpp:78:64: error: invalid types 'int[int]' for array subscript
   78 |                                 if (fabs(dist(x, y, aa[c].x, aa[c].y) - r) < eps) {
      |                                                                ^


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-25 10:07:36, Gzip enabled