/ Vijos /

记录详情

Compile Error

foo.cpp:152:1: error: expected unqualified-id before '?' token
In file included from c:\mingw32\bin\../lib/gcc/mingw32/4.7.1/include/c++/bits/stl_algobase.h:66:0,
                 from c:\mingw32\bin\../lib/gcc/mingw32/4.7.1/include/c++/algorithm:62,
                 from foo.cpp:5:
c:\mingw32\bin\../lib/gcc/mingw32/4.7.1/include/c++/bits/stl_iterator_base_types.h: In instantiation of 'struct std::iterator_traits<int>':
c:\mingw32\bin\../lib/gcc/mingw32/4.7.1/include/c++/bits/stl_algo.h:5466:2:   required from 'void std::sort(_RAIter, _RAIter) [with _RAIter = int]'
foo.cpp:33:15:   required from here
c:\mingw32\bin\../lib/gcc/mingw32/4.7.1/include/c++/bits/stl_iterator_base_types.h:166:53: error: 'int' is not a class, struct, or union type
c:\mingw32\bin\../lib/gcc/mingw32/4.7.1/include/c++/bits/stl_iterator_base_types.h:167:53: error: 'int' is not a class, struct, or union type
c:\mingw32\bin\../lib/gcc/mingw32/4.7.1/include/c++/bits/stl_iterator_base_types.h:168:53: error: 'int' is not a class, struct, or union type
c:\mingw32\bin\../lib/gcc/mingw32/4.7.1/include/c++/bits/stl_iterator_base_types.h:169:53: error: 'int' is not a class, struct, or union type
c:\mingw32\bin\../lib/gcc/mingw32/4.7.1/include/c++/bits/stl_iterator_base_types.h:170:53: error: 'int' is not a class, struct, or union type

信息

递交者
类型
递交
题目
P1892 树上的最大匹配
语言
C++
递交时间
2014-10-18 22:00:46
评测时间
2014-10-18 22:00:48
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes