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_10122418_4409.cpp
0_0_10122418_4409.cpp(51) : error C2926: “BFS::Point” : 没有链接的类型不能用作模板参数
0_0_10122418_4409.cpp(57) : error C2664: “std::queue<_Ty>::push” : 不能将参数 1 从“BFS::Point”转换为“const std::queue<_Ty>::value_type &”
        with
        [
            _Ty=int
        ]
        and
        [
            _Ty=int
        ]
        原因如下: 无法从“BFS::Point”转换为“const std::queue<_Ty>::value_type”
        with
        [
            _Ty=int
        ]
        没有可用于执行该转换的用户定义的转换运算符,或者无法调用该运算符
0_0_10122418_4409.cpp(60) : error C2440: “初始化” : 无法从“std::queue<_Ty>::value_type”转换为“BFS::Point”
        with
        [
            _Ty=int
        ]
        无构造函数可以接受源类型,或构造函数重载决策不明确
0_0_10122418_4409.cpp(75) : error C2664: “std::queue<_Ty>::push” : 不能将参数 1 从“BFS::Point”转换为“const std::queue<_Ty>::value_type &”
        with
        [
            _Ty=int
        ]
        and
        [
            _Ty=int
        ]
        原因如下: 无法从“BFS::Point”转换为“const std::queue<_Ty>::value_type”
        with
        [
            _Ty=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-09-22 07:24:16, Gzip enabled