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_36635967_8484.cpp: In function 'int main()':
0_0_36635967_8484.cpp:107:22: error: invalid types 'double [105][double]' for array subscript
             s[0][p[i]] = s[p[i]][0] = sqrt(s1[p[i]].x*s1[p[i]].x+s1[p[i]].y*s1[p[i]].y)-7.5;
                      ^
0_0_36635967_8484.cpp:107:32: error: invalid types 'double [105][105][double]' for array subscript
             s[0][p[i]] = s[p[i]][0] = sqrt(s1[p[i]].x*s1[p[i]].x+s1[p[i]].y*s1[p[i]].y)-7.5;
                                ^
0_0_36635967_8484.cpp:107:51: error: invalid types 'node1 [100005][double]' for array subscript
             s[0][p[i]] = s[p[i]][0] = sqrt(s1[p[i]].x*s1[p[i]].x+s1[p[i]].y*s1[p[i]].y)-7.5;
                                                   ^
0_0_36635967_8484.cpp:107:62: error: invalid types 'node1 [100005][double]' for array subscript
             s[0][p[i]] = s[p[i]][0] = sqrt(s1[p[i]].x*s1[p[i]].x+s1[p[i]].y*s1[p[i]].y)-7.5;
                                                              ^
0_0_36635967_8484.cpp:107:73: error: invalid types 'node1 [100005][double]' for array subscript
             s[0][p[i]] = s[p[i]][0] = sqrt(s1[p[i]].x*s1[p[i]].x+s1[p[i]].y*s1[p[i]].y)-7.5;
                                                                         ^
0_0_36635967_8484.cpp:107:84: error: invalid types 'node1 [100005][double]' for array subscript
             s[0][p[i]] = s[p[i]][0] = sqrt(s1[p[i]].x*s1[p[i]].x+s1[p[i]].y*s1[p[i]].y)-7.5;
                                                                                    ^
0_0_36635967_8484.cpp:108:23: error: invalid types 'double [105][double]' for array subscript
             mp[0][p[i]] = mp[p[i]][0] = 1;
                       ^
0_0_36635967_8484.cpp:108:34: error: invalid types 'double [105][105][double]' for array subscript
             mp[0][p[i]] = mp[p[i]][0] = 1;
                                  ^
0_0_36635967_8484.cpp:112:19: error: invalid types 'double [105][105][double]' for array subscript
             s[t[i]][n] = s[n][t[i]] = min(min(50+s1[t[i]].x,50-s1[t[i]].x),min(50+s1[t[i]].y,50-s1[t[i]].y));
                   ^
0_0_36635967_8484.cpp:112:35: error: invalid types 'double [105][double]' for array subscript
             s[t[i]][n] = s[n][t[i]] = min(min(50+s1[t[i]].x,50-s1[t[i]].x),min(50+s1[t[i]].y,50-s1[t[i]].y));
                                   ^
0_0_36635967_8484.cpp:112:57: error: invalid types 'node1 [100005][double]' for array subscript
             s[t[i]][n] = s[n][t[i]] = min(min(50+s1[t[i]].x,50-s1[t[i]].x),min(50+s1[t[i]].y,50-s1[t[i]].y));
                                                         ^
0_0_36635967_8484.cpp:112:71: error: invalid types 'node1 [100005][double]' for array subscript
             s[t[i]][n] = s[n][t[i]] = min(min(50+s1[t[i]].x,50-s1[t[i]].x),min(50+s1[t[i]].y,50-s1[t[i]].y));
                                                                       ^
0_0_36635967_8484.cpp:112:90: error: invalid types 'node1 [100005][double]' for array subscript
             s[t[i]][n] = s[n][t[i]] = min(min(50+s1[t[i]].x,50-s1[t[i]].x),min(50+s1[t[i]].y,50-s1[t[i]].y));
                                                                                          ^
0_0_36635967_8484.cpp:112:104: error: invalid types 'node1 [100005][double]' for array subscript
             s[t[i]][n] = s[n][t[i]] = min(min(50+s1[t[i]].x,50-s1[t[i]].x),min(50+s1[t[i]].y,50-s1[t[i]].y));
                                                                                                        ^
0_0_36635967_8484.cpp:113:20: error: invalid types 'double [105][105][double]' for array subscript
             mp[t[i]][n] = mp[n][t[i]] = 1;
                    ^
0_0_36635967_8484.cpp:113:37: error: invalid types 'double [105][double]' for array subscript
             mp[t[i]][n] = mp[n][t[i]] = 1;
                                     ^


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-24 22:58:10, Gzip enabled