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

751036_0_0_16446.cpp
751036_0_0_16446.cpp(31) : error C2664: “std::stack<_Ty>::push” : 不能将参数 1 从“std::string”转换为“const std::stack<_Ty>::value_type &”
        with
        [
            _Ty=char
        ]
        and
        [
            _Ty=char
        ]
        原因如下: 无法从“std::string”转换为“const std::stack<_Ty>::value_type”
        with
        [
            _Ty=char
        ]
        没有可用于执行该转换的用户定义的转换运算符,或者无法调用该运算符
751036_0_0_16446.cpp(35) : error C2664: “std::stack<_Ty>::push” : 不能将参数 1 从“std::string”转换为“const std::stack<_Ty>::value_type &”
        with
        [
            _Ty=char
        ]
        and
        [
            _Ty=char
        ]
        原因如下: 无法从“std::string”转换为“const std::stack<_Ty>::value_type”
        with
        [
            _Ty=char
        ]
        没有可用于执行该转换的用户定义的转换运算符,或者无法调用该运算符
751036_0_0_16446.cpp(52) : error C2679: 二进制“<<” : 没有找到接受“<未知>”类型的右操作数的运算符(或没有可接受的转换)


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2025 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2025-02-18 16:29:22, Gzip enabled