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_22007428_16163.cpp
0_0_22007428_16163.cpp(8) : error C2664: “std::vector<vec,std::allocator<_Ty>>::vector(std::initializer_list<std::vector<int,std::allocator<int>>>,const std::allocator<_Ty> &)”: 无法将参数 2 从“int”转换为“const std::vector<int,std::allocator<_Ty>> &”
        with
        [
            _Ty=vec
        ]
        and
        [
            _Ty=int
        ]
        原因如下:  无法从“int”转换为“const std::vector<int,std::allocator<_Ty>>”
        with
        [
            _Ty=int
        ]
        class“std::vector<int,std::allocator<_Ty>>”的构造函数声明为“explicit”
        with
        [
            _Ty=int
        ]
0_0_22007428_16163.cpp(17) : error C2664: “std::vector<vec,std::allocator<_Ty>>::vector(std::initializer_list<std::vector<int,std::allocator<int>>>,const std::allocator<_Ty> &)”: 无法将参数 2 从“int”转换为“const std::vector<int,std::allocator<_Ty>> &”
        with
        [
            _Ty=vec
        ]
        and
        [
            _Ty=int
        ]
        原因如下:  无法从“int”转换为“const std::vector<int,std::allocator<_Ty>>”
        with
        [
            _Ty=int
        ]
        class“std::vector<int,std::allocator<_Ty>>”的构造函数声明为“explicit”
        with
        [
            _Ty=int
        ]
0_0_22007428_16163.cpp(19) : error C2664: “std::vector<vec,std::allocator<_Ty>>::vector(std::initializer_list<std::vector<int,std::allocator<int>>>,const std::allocator<_Ty> &)”: 无法将参数 2 从“int”转换为“const std::vector<int,std::allocator<_Ty>> &”
        with
        [
            _Ty=vec
        ]
        and
        [
            _Ty=int
        ]
        原因如下:  无法从“int”转换为“const std::vector<int,std::allocator<_Ty>>”
        with
        [
            _Ty=int
        ]
        class“std::vector<int,std::allocator<_Ty>>”的构造函数声明为“explicit”
        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-11-17 18:20:54, Gzip enabled