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_2025541_22999.cpp
0_0_2025541_22999.cpp(18) : error C2475: “std::basic_string<_Elem,_Traits,_Ax>::size” : 构造一个指向成员的指针需要显式使用 address-of 运算符('&')和限定名
        with
        [
            _Elem=char,
            _Traits=std::char_traits<char>,
            _Ax=std::allocator<char>
        ]
0_0_2025541_22999.cpp(18) : error C2440: “=” : 无法从“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>
        ]
        没有使该转换得以执行的上下文
0_0_2025541_22999.cpp(19) : error C2475: “std::basic_string<_Elem,_Traits,_Ax>::size” : 构造一个指向成员的指针需要显式使用 address-of 运算符('&')和限定名
        with
        [
            _Elem=char,
            _Traits=std::char_traits<char>,
            _Ax=std::allocator<char>
        ]
0_0_2025541_22999.cpp(19) : error C2440: “=” : 无法从“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-01 18:33:30, Gzip enabled