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_23218580_11789.cpp: In function 'int main()':
0_0_23218580_11789.cpp:9:2: error: 'vector1' was not declared in this scope
  vector1<int> the_vector1;
  ^
0_0_23218580_11789.cpp:9:10: error: expected primary-expression before 'int'
  vector1<int> the_vector1;
          ^
0_0_23218580_11789.cpp:10:10: error: expected primary-expression before 'int'
  vector1<int>::iterator the_iterator;
          ^
0_0_23218580_11789.cpp:12:3: error: 'the_vector1' was not declared in this scope
   the_vector1.push_back(i);
   ^
0_0_23218580_11789.cpp:14:2: error: 'the_iterator' was not declared in this scope
  the_iterator = the_vector1.begin();
  ^
0_0_23218580_11789.cpp:14:17: error: 'the_vector1' was not declared in this scope
  the_iterator = the_vector1.begin();
                 ^
0_0_23218580_11789.cpp:29:28: error: expected primary-expression before '>' token
  vector1< pair<string,int> > wd(gMap.begin(), gMap.end());
                            ^
0_0_23218580_11789.cpp:29:57: error: 'wd' was not declared in this scope
  vector1< pair<string,int> > wd(gMap.begin(), gMap.end());
                                                         ^
0_0_23218580_11789.cpp:30:33: error: expected primary-expression before '>' token
  for(vector1< pair<string, int> >::iterator it=wd.begin(); it != wd.end(); ++it)
                                 ^
0_0_23218580_11789.cpp:30:45: error: missing template arguments before 'it'
  for(vector1< pair<string, int> >::iterator it=wd.begin(); it != wd.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 03:55:24, Gzip enabled