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_39499693_9313.cpp
0_0_39499693_9313.cpp(42) : error C2784: “_Ty std::max(std::initializer_list<_Elem>,_Pr)”: 未能从“int”为“std::initializer_list<_Elem>”推导 模板 参数
        VC2013\INCLUDE\algorithm(4108) : 参见“std::max”的声明
0_0_39499693_9313.cpp(42) : error C2780: “const _Ty &std::max(const _Ty &,const _Ty &,_Pr)”: 应输入 3 个参数,却提供了 2 个
        VC2013\INCLUDE\algorithm(4101) : 参见“std::max”的声明
0_0_39499693_9313.cpp(42) : error C2780: “_Ty std::max(std::initializer_list<_Elem>)”: 应输入 1 个参数,却提供了 2 个
        VC2013\INCLUDE\algorithm(4092) : 参见“std::max”的声明
0_0_39499693_9313.cpp(42) : error C2782: “const _Ty &std::max(const _Ty &,const _Ty &)”: 模板 参数“_Ty”不明确
        VC2013\INCLUDE\algorithm(4086) : 参见“std::max”的声明
        可能是“__int64”
        或       “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-12-05 10:17:07, Gzip enabled