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_39092912_32075.cpp
0_0_39092912_32075.cpp(98) : error C2784: “_Ty std::max(std::initializer_list<_Elem>,_Pr)”: 未能从“const __int64”为“std::initializer_list<_Elem>”推导 模板 参数
        VC2013\INCLUDE\algorithm(4108) : 参见“std::max”的声明
        0_0_39092912_32075.cpp(90): 编译类 模板 成员函数“__int64 KDTree<vector2f>::euclideanDistance(KDTree<vector2f>::Node *,const T &)”时
        with
        [
            T=vector2f
        ]
        0_0_39092912_32075.cpp(54): 参见对正在编译的函数 模板 实例化“__int64 KDTree<vector2f>::euclideanDistance(KDTree<vector2f>::Node *,const T &)”的引用
        with
        [
            T=vector2f
        ]
        0_0_39092912_32075.cpp(53): 编译类 模板 成员函数“KDTree<vector2f>::KDTree(void)”时
        0_0_39092912_32075.cpp(313): 参见对正在编译的函数 模板 实例化“KDTree<vector2f>::KDTree(void)”的引用
        0_0_39092912_32075.cpp(313): 参见对正在编译的类 模板 实例化“KDTree<vector2f>”的引用
0_0_39092912_32075.cpp(98) : error C2780: “const _Ty &std::max(const _Ty &,const _Ty &,_Pr)”: 应输入 3 个参数,却提供了 2 个
        VC2013\INCLUDE\algorithm(4101) : 参见“std::max”的声明
0_0_39092912_32075.cpp(98) : error C2780: “_Ty std::max(std::initializer_list<_Elem>)”: 应输入 1 个参数,却提供了 2 个
        VC2013\INCLUDE\algorithm(4092) : 参见“std::max”的声明
0_0_39092912_32075.cpp(98) : error C2782: “const _Ty &std::max(const _Ty &,const _Ty &)”: 模板 参数“_Ty”不明确
        VC2013\INCLUDE\algorithm(4086) : 参见“std::max”的声明
        可能是“double”
        或       “__int64”
0_0_39092912_32075.cpp(98) : error C2784: “_Ty std::max(std::initializer_list<_Elem>,_Pr)”: 未能从“__int64”为“std::initializer_list<_Elem>”推导 模板 参数
        VC2013\INCLUDE\algorithm(4108) : 参见“std::max”的声明
        VC2013\INCLUDE\algorithm(4101) : 参见“std::max”的声明
        VC2013\INCLUDE\algorithm(4092) : 参见“std::max”的声明
        VC2013\INCLUDE\algorithm(4086) : 参见“std::max”的声明
0_0_39092912_32075.cpp(98) : error C2780: “_Ty std::max(std::initializer_list<_Elem>,_Pr)”: 应输入 2 个参数,却提供了 1 个
        VC2013\INCLUDE\algorithm(4108) : 参见“std::max”的声明
0_0_39092912_32075.cpp(98) : error C2780: “const _Ty &std::max(const _Ty &,const _Ty &,_Pr)”: 应输入 3 个参数,却提供了 1 个
        VC2013\INCLUDE\algorithm(4101) : 参见“std::max”的声明
0_0_39092912_32075.cpp(98) : error C2780: “const _Ty &std::max(const _Ty &,const _Ty &)”: 应输入 2 个参数,却提供了 1 个
        VC2013\INCLUDE\algorithm(4086) : 参见“std::max”的声明


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-05-18 09:42:23, Gzip enabled