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_13753619_15011.cpp: In function 'void PA(const T&)':
0_0_13753619_15011.cpp:159:6: error: expected ';' before 'it'
   FE(it,x){
      ^
0_0_13753619_15011.cpp:38:30: note: in definition of macro 'FE'
 #define FE(x,ctn) for(IT(ctn)x=(ctn).begin(),_en=(ctn).end();x!=_en;x++)
                              ^
0_0_13753619_15011.cpp:159:6: error: 'it' was not declared in this scope
   FE(it,x){
      ^
0_0_13753619_15011.cpp:38:62: note: in definition of macro 'FE'
 #define FE(x,ctn) for(IT(ctn)x=(ctn).begin(),_en=(ctn).end();x!=_en;x++)
                                                              ^
0_0_13753619_15011.cpp:38:65: error: '_en' was not declared in this scope
 #define FE(x,ctn) for(IT(ctn)x=(ctn).begin(),_en=(ctn).end();x!=_en;x++)
                                                                 ^
0_0_13753619_15011.cpp:159:3: note: in expansion of macro 'FE'
   FE(it,x){
   ^
0_0_13753619_15011.cpp: In function 'int main()':
0_0_13753619_15011.cpp:35:33: error: 'typeof' was not declared in this scope
 #define IT(x) typeof((x).begin())
                                 ^
0_0_13753619_15011.cpp:38:23: note: in expansion of macro 'IT'
 #define FE(x,ctn) for(IT(ctn)x=(ctn).begin(),_en=(ctn).end();x!=_en;x++)
                       ^
0_0_13753619_15011.cpp:185:5: note: in expansion of macro 'FE'
     FE(it,x)reverse(all(it->se));
     ^
0_0_13753619_15011.cpp:185:8: error: 'it' was not declared in this scope
     FE(it,x)reverse(all(it->se));
        ^
0_0_13753619_15011.cpp:38:62: note: in definition of macro 'FE'
 #define FE(x,ctn) for(IT(ctn)x=(ctn).begin(),_en=(ctn).end();x!=_en;x++)
                                                              ^
0_0_13753619_15011.cpp:38:65: error: '_en' was not declared in this scope
 #define FE(x,ctn) for(IT(ctn)x=(ctn).begin(),_en=(ctn).end();x!=_en;x++)
                                                                 ^
0_0_13753619_15011.cpp:185:5: note: in expansion of macro 'FE'
     FE(it,x)reverse(all(it->se));
     ^
0_0_13753619_15011.cpp:35:33: error: 'typeof' was not declared in this scope
 #define IT(x) typeof((x).begin())
                                 ^
0_0_13753619_15011.cpp:188:7: note: in expansion of macro 'IT'
       IT(x) it=x.find(h);
       ^
0_0_13753619_15011.cpp:189:10: error: 'it' was not declared in this scope
       if(it==x.end())puts("-1");
          ^


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-09-22 17:25:32, Gzip enabled