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_10562344_28223.cpp
VC\include\vector(357) : error C2664: “std::vector<_Ty>::_Construct_n” : 不能将参数 2 从“int”转换为“node *const & ”
        with
        [
            _Ty=node *
        ]
        原因如下: 无法从“int”转换为“node *const ”
        从整型转换为指针类型要求 reinterpret_cast、C 样式转换或函数样式转换
        VC\include\vector(343) : 参见对正在编译的函数模板实例化“void std::vector<_Ty>::_Construct<_Iter>(_Iter,_Iter,std::_Int_iterator_tag)”的引用
        with
        [
            _Ty=node *,
            _Iter=int
        ]
        0_0_10562344_28223.cpp(38) : 参见对正在编译的函数模板实例化“std::vector<_Ty>::vector<int>(_Iter,_Iter)”的引用
        with
        [
            _Ty=node *,
            _Iter=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-10-06 14:30:16, Gzip enabled