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_25411563_19463.cpp: In function 'int main()':
0_0_25411563_19463.cpp:39:54: error: increment of read-only location 'it.std::_Rb_tree_const_iterator<_Tp>::operator*<e>().e::g[1][1]'
             else if((*it).f[1][1] == w) (*it).g[1][1]++, (*G[v].find(e(0, u))).g[1][1]++;
                                                      ^
0_0_25411563_19463.cpp:39:87: error: increment of read-only location 'G[v].std::set<_Key, _Compare, _Alloc>::find<e, std::less<e>, std::allocator<e> >((*(const key_type*)(& e(0, u, -1)))).std::_Rb_tree_const_iterator<_Tp>::operator*<e>().e::g[1][1]'
             else if((*it).f[1][1] == w) (*it).g[1][1]++, (*G[v].find(e(0, u))).g[1][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-11-17 12:33:14, Gzip enabled