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_11689683_4031.cpp
VC\include\functional(139) : error C2784: “bool std::operator <(const std::queue<_Ty,_Container> &,const std::queue<_Ty,_Container> &)” : 未能推导出“const std::queue<_Ty,_Container> &”(从“const std::vector<_Ty>::value_type”中)的模板参数
        with
        [
            _Ty=Node
        ]
        VC\include\queue(97) : 参见“std::operator`<'”的声明
        VC\include\functional(138) : 编译类模板成员函数“bool std::less<_Ty>::operator ()(const _Ty &,const _Ty &) const”时
        with
        [
            _Ty=std::vector<Node>::value_type
        ]
        VC\include\queue(211) : 参见对正在编译的类模板实例化“std::less<_Ty>”的引用
        with
        [
            _Ty=std::vector<Node>::value_type
        ]
        0_0_11689683_4031.cpp(61) : 参见对正在编译的类模板实例化“std::priority_queue<_Ty>”的引用
        with
        [
            _Ty=Node
        ]
VC\include\functional(139) : error C2784: “bool std::operator <(const std::deque<_Ty,_Alloc> &,const std::deque<_Ty,_Alloc> &)” : 未能推导出“const std::deque<_Ty,_Ax> &”(从“const std::vector<_Ty>::value_type”中)的模板参数
        with
        [
            _Ty=Node
        ]
        VC\include\deque(999) : 参见“std::operator`<'”的声明
VC\include\functional(139) : error C2784: “bool std::operator <(const std::vector<_Ty,_Alloc> &,const std::vector<_Ty,_Alloc> &)” : 未能推导出“const std::vector<_Ty,_Ax> &”(从“const std::vector<_Ty>::value_type”中)的模板参数
        with
        [
            _Ty=Node
        ]
        VC\include\vector(915) : 参见“std::operator`<'”的声明
VC\include\functional(139) : error C2784: “bool std::operator <(const std::reverse_iterator<_RanIt> &,const std::reverse_iterator<_RanIt> &)” : 未能推导出“const std::reverse_iterator<_RanIt> &”(从“const std::vector<_Ty>::value_type”中)的模板参数
        with
        [
            _Ty=Node
        ]
        VC\include\xutility(655) : 参见“std::operator`<'”的声明
VC\include\functional(139) : error C2784: “bool std::operator <(const std::pair<_Ty1,_Ty2> &,const std::pair<_Ty1,_Ty2> &)” : 未能推导出“const std::pair<_Ty1,_Ty2> &”(从“const std::vector<_Ty>::value_type”中)的模板参数
        with
        [
            _Ty=Node
        ]
        VC\include\utility(73) : 参见“std::operator`<'”的声明
VC\include\functional(139) : error C2676: 二进制“<” : “const std::vector<_Ty>::value_type”不定义该运算符或到预定义运算符可接收的类型的转换
        with
        [
            _Ty=Node
        ]


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-06-29 07:49:30, Gzip enabled