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_25266517_24907.cpp: In function 'int main()':
0_0_25266517_24907.cpp:102:77: error: no 'operator--(int)' declared for postfix '--' [-fpermissive]
   for(vector<pair<string, MyPt>>::iterator it = vc.end(); it!=vc.begin(); vc--){
                                                                             ^
0_0_25266517_24907.cpp:104:44: error: cannot pass objects of non-trivially-copyable type 'class std::basic_string<char>' through '...'
    printf("%s %d/n",it->first,it->second.pt);
                                            ^
0_0_25266517_24907.cpp:106:47: error: cannot pass objects of non-trivially-copyable type 'class std::basic_string<char>' through '...'
   printf("%s %d/n",vc[0].first,vc[0].second.pt);
                                               ^


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-10-06 07:06:18, Gzip enabled