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_32064558_15714.cpp: In function 'void calcTimeArea(timeArea*, timeArea, double, double)':
0_0_32064558_15714.cpp:47:42: error: 'memset' was not declared in this scope
     memset(pTimeArea, 0, sizeof(timeArea));
                                          ^
0_0_32064558_15714.cpp: In function 'double percentage(double)':
0_0_32064558_15714.cpp:82:56: error: 'malloc' was not declared in this scope
     pSM = (timeArea*) malloc(MAX_LEN * sizeof(timeArea));
                                                        ^
0_0_32064558_15714.cpp:85:46: error: 'memset' was not declared in this scope
     memset(pSM, 0, MAX_LEN * sizeof(timeArea));    
                                              ^
0_0_32064558_15714.cpp:105:17: error: 'free' was not declared in this scope
     free(pMerged);
                 ^


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-23 08:42:16, Gzip enabled