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_22096825_27397.cpp: In function 'void DFS(int)':
0_0_22096825_27397.cpp:22:39: error: 'typeof' was not declared in this scope
 #define Travel(x) for(typeof(x.begin()) it = x.begin(); it != x.end(); ++it)
                                       ^
0_0_22096825_27397.cpp:76:2: note: in expansion of macro 'Travel'
  Travel(Edges[Now])
  ^
0_0_22096825_27397.cpp:22:57: error: 'it' was not declared in this scope
 #define Travel(x) for(typeof(x.begin()) it = x.begin(); it != x.end(); ++it)
                                                         ^
0_0_22096825_27397.cpp:76:2: note: in expansion of macro 'Travel'
  Travel(Edges[Now])
  ^


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-22 20:39:49, Gzip enabled