/ Vijos /

记录详情

Compile Error

In file included from c:\mingw32\bin\../lib/gcc/mingw32/4.6.1/include/c++/algorithm:63:0,
                 from foo.cpp:1:
c:\mingw32\bin\../lib/gcc/mingw32/4.6.1/include/c++/bits/stl_algo.h: In function '_RandomAccessIterator std::__unguarded_partition(_RandomAccessIterator, _RandomAccessIterator, const _Tp&) [with _RandomAccessIterator = Edge*, _Tp = Edge]':
c:\mingw32\bin\../lib/gcc/mingw32/4.6.1/include/c++/bits/stl_algo.h:2253:70:   instantiated from '_RandomAccessIterator std::__unguarded_partition_pivot(_RandomAccessIterator, _RandomAccessIterator) [with _RandomAccessIterator = Edge*]'
c:\mingw32\bin\../lib/gcc/mingw32/4.6.1/include/c++/bits/stl_algo.h:2284:54:   instantiated from 'void std::__introsort_loop(_RandomAccessIterator, _RandomAccessIterator, _Size) [with _RandomAccessIterator = Edge*, _Size = int]'
c:\mingw32\bin\../lib/gcc/mingw32/4.6.1/include/c++/bits/stl_algo.h:5330:4:   instantiated from 'void std::sort(_RAIter, _RAIter) [with _RAIter = Edge*]'
foo.cpp:114:23:   instantiated from here
c:\mingw32\bin\../lib/gcc/mingw32/4.6.1/include/c++/bits/stl_algo.h:2215:4: error: passing 'const Edge' as 'this' argument of 'bool Edge::operator<(Edge)' discards qualifiers [-fpermissive]

信息

递交者
类型
递交
题目
P1694 Miku_Black Diamond
语言
C++
递交时间
2015-07-16 21:09:54
评测时间
2015-07-16 21:11:16
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes