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_1591978_20720.cpp: In function `double closestPair(int, int, int)':
0_0_1591978_20720.cpp:75: error: cannot convert `tPoint (*)[100000]' to `tPoint*' for argument `1' to `double dist(tPoint*, tPoint*)'
0_0_1591978_20720.cpp:96: error: request for member `x' in `ptx', which is of non-class type `tPoint[100000]'
0_0_1591978_20720.cpp:99: error: request for member `x' in `ptx', which is of non-class type `tPoint[100000]'
0_0_1591978_20720.cpp:108: error: invalid types `tPoint[100000][int[100000]]' for array subscript
0_0_1591978_20720.cpp:109: error: invalid conversion from `int*' to `int'
0_0_1591978_20720.cpp:116: error: invalid types `tPoint[100000][int[100000]]' for array subscript
0_0_1591978_20720.cpp:117: error: invalid types `tPoint[100000][int[100000]]' for array subscript
0_0_1591978_20720.cpp: In function `int main()':
0_0_1591978_20720.cpp:134: error: request for member `x' in `ptx', which is of non-class type `tPoint[100000]'
0_0_1591978_20720.cpp:134: error: request for member `y' in `ptx', which is of non-class type `tPoint[100000]'
0_0_1591978_20720.cpp:136: error: incompatible types in assignment of `int' to `int[100000]'


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-17 07:41:42, Gzip enabled