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_29279426_30784.cpp: In function 'int main()':
0_0_29279426_30784.cpp:36:29: error: 'memset' was not declared in this scope
   memset(res, 0, sizeof(res));
                             ^
0_0_29279426_30784.cpp:54:44: error: 'fabs' was not declared in this scope
   int len = (lenX + lenY + fabs(lenX - lenY)) / 2;
                                            ^
0_0_29279426_30784.cpp:81:30: error: 'reverse' was not declared in this scope
    reverse(res, res + len + 1);
                              ^
0_0_29279426_30784.cpp:91:26: error: 'reverse' was not declared in this scope
    reverse(res, res + len);
                          ^


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 20:30:29, Gzip enabled