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_22963323_10686.cpp: In function 'void merge(Point*, Point*, int, int, int)':
0_0_22963323_10686.cpp:106:61: error: ambiguating new declaration of 'void merge(Point*, Point*, int, int, int)'
 void merge(Point y[], Point z[], int begin, int mid, int end)
                                                             ^
0_0_22963323_10686.cpp:24:5: note: old declaration 'int merge(Point*, Point*, int, int, int)'
 int merge(Point *,Point *,int ,int ,int);
     ^
0_0_22963323_10686.cpp:120:58: error: 'point' was not declared in this scope
  memcpy(z + begin, y + begin, (end - begin + 1) * sizeof(point));
                                                          ^


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-06-27 00:29:04, Gzip enabled