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_19231088_12911.cpp: In function 'void init()':
0_0_19231088_12911.cpp:23:58: error: '_Rb_tree_' is not a member of 'std'
 int j=0;j<=i;++j) b[j]=c[j]=0;                      for (std::_Rb_tree_
                                                          ^
0_0_19231088_12911.cpp:25:32: error: 'it' was not declared in this scope
 const int, int>> it=p->begin();it!=p->end();++it)                             b[it->first]=it->second;                      
                                ^
0_0_19231088_12911.cpp: In function 'void work()':
0_0_19231088_12911.cpp:35:339: error: '_Rb_tree_' is not a member of 'std'
 int n;               scanf("%d",&n);               if (!n) return;               vector<vector<pair<int,int>> > v;               v.clear();               vector<pair<int,int>> w;               for (set<map<int,int>>::iterator p=ans[n].begin();p!=ans[n].end();++p)               {                      w.clear();                      for (std::_Rb_tree_
                                                                                                                                                                                                                                                                                                                                                   ^
0_0_19231088_12911.cpp:37:32: error: 'it' was not declared in this scope
 const int, int>> it=p->begin();it!=p->end();++it)                             w.push_back(make_pair(it->first,it->second));                      v.push_back(w);               }               sort(v.begin(),v.end(),cmp);               for (vector<vector<pair<int,int>> >::iterator p=v.begin();p!=v.end();++p)               {                      w=*p;                      putchar('(');                      
                                ^


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-23 02:52:44, Gzip enabled