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_17424400_26079.cpp: In function 'void graham(int, Point*)':
0_0_17424400_26079.cpp:6:31: error: 'typeof' was not declared in this scope
 #define swap(a, b) do{typeof(a)_t = (a); (a) = (b); (b) = _t;}while(0)
                               ^
0_0_17424400_26079.cpp:59:3: note: in expansion of macro 'swap'
   swap(list[k], list[0]);
   ^
0_0_17424400_26079.cpp:6:59: error: '_t' was not declared in this scope
 #define swap(a, b) do{typeof(a)_t = (a); (a) = (b); (b) = _t;}while(0)
                                                           ^
0_0_17424400_26079.cpp:59:3: note: in expansion of macro 'swap'
   swap(list[k], list[0]);
   ^


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 04:51:19, Gzip enabled