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_8114596_3072.cpp
0_0_8114596_3072.cpp(31) : error C2784: “reverse_iterator<_RanIt>::difference_type std::operator -(const std::reverse_iterator<_RanIt> &,const std::reverse_iterator<_RanIt> &)” : 未能推导出“const std::reverse_iterator<_RanIt> &”(从“std::set<_Kty>::iterator”中)的模板参数
        with
        [
            _Kty=int
        ]
        VC\include\xutility(634) : 参见“std::operator`-'”的声明
0_0_8114596_3072.cpp(31) : error C2784: “reverse_iterator<_RanIt>::difference_type std::operator -(const std::reverse_iterator<_RanIt> &,const std::reverse_iterator<_RanIt> &)” : 未能推导出“const std::reverse_iterator<_RanIt> &”(从“std::set<_Kty>::iterator”中)的模板参数
        with
        [
            _Kty=int
        ]
        VC\include\xutility(634) : 参见“std::operator`-'”的声明
0_0_8114596_3072.cpp(31) : error C2784: “reverse_iterator<_RanIt>::difference_type std::operator -(const std::reverse_iterator<_RanIt> &,const std::reverse_iterator<_RanIt> &)” : 未能推导出“const std::reverse_iterator<_RanIt> &”(从“std::set<_Kty>::iterator”中)的模板参数
        with
        [
            _Kty=int
        ]
        VC\include\xutility(634) : 参见“std::operator`-'”的声明
0_0_8114596_3072.cpp(31) : error C2784: “reverse_iterator<_RanIt>::difference_type std::operator -(const std::reverse_iterator<_RanIt> &,const std::reverse_iterator<_RanIt> &)” : 未能推导出“const std::reverse_iterator<_RanIt> &”(从“std::set<_Kty>::iterator”中)的模板参数
        with
        [
            _Kty=int
        ]
        VC\include\xutility(634) : 参见“std::operator`-'”的声明
0_0_8114596_3072.cpp(31) : error C2676: 二进制“-” : “std::set<_Kty>::iterator”不定义该运算符或到预定义运算符可接收的类型的转换
        with
        [
            _Kty=int
        ]
0_0_8114596_3072.cpp(33) : error C2784: “reverse_iterator<_RanIt>::difference_type std::operator -(const std::reverse_iterator<_RanIt> &,const std::reverse_iterator<_RanIt> &)” : 未能推导出“const std::reverse_iterator<_RanIt> &”(从“std::set<_Kty>::iterator”中)的模板参数
        with
        [
            _Kty=int
        ]
        VC\include\xutility(634) : 参见“std::operator`-'”的声明
0_0_8114596_3072.cpp(33) : error C2784: “reverse_iterator<_RanIt>::difference_type std::operator -(const std::reverse_iterator<_RanIt> &,const std::reverse_iterator<_RanIt> &)” : 未能推导出“const std::reverse_iterator<_RanIt> &”(从“std::set<_Kty>::iterator”中)的模板参数
        with
        [
            _Kty=int
        ]
        VC\include\xutility(634) : 参见“std::operator`-'”的声明
0_0_8114596_3072.cpp(33) : error C2784: “reverse_iterator<_RanIt>::difference_type std::operator -(const std::reverse_iterator<_RanIt> &,const std::reverse_iterator<_RanIt> &)” : 未能推导出“const std::reverse_iterator<_RanIt> &”(从“std::set<_Kty>::iterator”中)的模板参数
        with
        [
            _Kty=int
        ]
        VC\include\xutility(634) : 参见“std::operator`-'”的声明
0_0_8114596_3072.cpp(33) : error C2784: “reverse_iterator<_RanIt>::difference_type std::operator -(const std::reverse_iterator<_RanIt> &,const std::reverse_iterator<_RanIt> &)” : 未能推导出“const std::reverse_iterator<_RanIt> &”(从“std::set<_Kty>::iterator”中)的模板参数
        with
        [
            _Kty=int
        ]
        VC\include\xutility(634) : 参见“std::operator`-'”的声明
0_0_8114596_3072.cpp(33) : error C2676: 二进制“-” : “std::set<_Kty>::iterator”不定义该运算符或到预定义运算符可接收的类型的转换
        with
        [
            _Kty=int
        ]


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-30 02:56:48, Gzip enabled