Home STD Contest Notification Clarification Problems Ranklist Status Print Sign Out

View Compilation Error

1_237_2954_27097.cpp
1_237_2954_27097.cpp(14) : error C2475: “std::basic_string<_Elem,_Traits,_Ax>::size” : 构造一个指向成员的指针需要显式使用 address-of 运算符('&')和限定名
        with
        [
            _Elem=char,
            _Traits=std::char_traits<char>,
            _Ax=std::allocator<char>
        ]
1_237_2954_27097.cpp(14) : error C2475: “std::basic_string<_Elem,_Traits,_Ax>::size” : 构造一个指向成员的指针需要显式使用 address-of 运算符('&')和限定名
        with
        [
            _Elem=char,
            _Traits=std::char_traits<char>,
            _Ax=std::allocator<char>
        ]
1_237_2954_27097.cpp(14) : error C2446: “==” : 没有从“int”到“std::basic_string<_Elem,_Traits,_Ax>::size_type (__thiscall std::basic_string<_Elem,_Traits,_Ax>::* )(void) const”的转换
        with
        [
            _Elem=char,
            _Traits=std::char_traits<char>,
            _Ax=std::allocator<char>
        ]
        没有从整数值到指向成员的指针值的转换
1_237_2954_27097.cpp(14) : error C2040: “==” : “std::basic_string<_Elem,_Traits,_Ax>::size_type (__thiscall std::basic_string<_Elem,_Traits,_Ax>::* )(void) const”与“int”的间接寻址级别不同
        with
        [
            _Elem=char,
            _Traits=std::char_traits<char>,
            _Ax=std::allocator<char>
        ]


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-30 14:26:01, Gzip enabled