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_21889297_30507.cpp: In function 'int solve(std::vector<std::pair<std::pair<int, int>, int> >&, int, int, int)':
0_0_21889297_30507.cpp:39:55: error: could not convert '(((void)__gnu_cxx::operator!=<std::pair<std::pair<int, int>, int>*, std::vector<std::pair<std::pair<int, int>, int> > >((*(const __gnu_cxx::__normal_iterator<std::pair<std::pair<int, int>, int>*, std::vector<std::pair<std::pair<int, int>, int> > >*)(& iter)), (*(const __gnu_cxx::__normal_iterator<std::pair<std::pair<int, int>, int>*, std::vector<std::pair<std::pair<int, int>, int> > >*)(&(& edges)->std::vector<_Tp, _Alloc>::end<std::pair<std::pair<int, int>, int>, std::allocator<std::pair<std::pair<int, int>, int> > >())))), iter.__gnu_cxx::__normal_iterator<_Iterator, _Container>::operator++<std::pair<std::pair<int, int>, int>*, std::vector<std::pair<std::pair<int, int>, int> > >(0))' from '__gnu_cxx::__normal_iterator<std::pair<std::pair<int, int>, int>*, std::vector<std::pair<std::pair<int, int>, int> > >' to 'bool'
     for(auto iter=edges.begin();iter!=edges.end(),iter++){
                                                       ^
0_0_21889297_30507.cpp:39:57: error: expected ';' before ')' token
     for(auto iter=edges.begin();iter!=edges.end(),iter++){
                                                         ^


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-03 14:28:38, Gzip enabled