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_29588124_28109.cpp:10:2: error: stray '#' in program
     return *(int*)a-*(int*)b;
  ^
0_0_29588124_28109.cpp:10:9: error: stray '#' in program
     return *(int*)a-*(int*)b;
         ^
0_0_29588124_28109.cpp: In function 'int cmp(const void*, const void*)':
0_0_29588124_28109.cpp:10:3: error: lvalue required as unary '&' operand
     return *(int*)a-*(int*)b;
   ^
0_0_29588124_28109.cpp:10:10: error: lvalue required as unary '&' operand
     return *(int*)a-*(int*)b;
          ^
0_0_29588124_28109.cpp: In function 'int main()':
0_0_29588124_28109.cpp:25:21: error: 'memset' was not declared in this scope
 memset(f,0,sizeof(f));
                     ^


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-12-04 22:25:29, Gzip enabled