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_19722471_12361.cpp: In function 'int main()':
0_0_19722471_12361.cpp:82:42: error: 'typeof' was not declared in this scope
 #define frf(c, it) for(typeof((c).begin()) it = (c).begin(); it != (c).end(); it++)
                                          ^
0_0_19722471_12361.cpp:166:13: note: in expansion of macro 'frf'
             frf(s1,it)
             ^
0_0_19722471_12361.cpp:166:20: error: 'it' was not declared in this scope
             frf(s1,it)
                    ^
0_0_19722471_12361.cpp:82:62: note: in definition of macro 'frf'
 #define frf(c, it) for(typeof((c).begin()) it = (c).begin(); it != (c).end(); it++)
                                                              ^
0_0_19722471_12361.cpp:82:42: error: 'typeof' was not declared in this scope
 #define frf(c, it) for(typeof((c).begin()) it = (c).begin(); it != (c).end(); it++)
                                          ^
0_0_19722471_12361.cpp:172:13: note: in expansion of macro 'frf'
             frf(s2,it)s1.insert(*it);
             ^
0_0_19722471_12361.cpp:172:20: error: 'it' was not declared in this scope
             frf(s2,it)s1.insert(*it);
                    ^
0_0_19722471_12361.cpp:82:62: note: in definition of macro 'frf'
 #define frf(c, it) for(typeof((c).begin()) it = (c).begin(); it != (c).end(); it++)
                                                              ^


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-02 13:37:13, Gzip enabled