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

642488_0_0_30125.cpp
642488_0_0_30125.cpp(12) : error C2664: “std::basic_istream<_Elem,_Traits>::_Myt &std::basic_istream<_Elem,_Traits>::getline(_Elem *,std::streamsize)” : 不能将参数 1 从“std::string”转换为“char *”
        with
        [
            _Elem=char,
            _Traits=std::char_traits<char>
        ]
        没有可用于执行该转换的用户定义的转换运算符,或者无法调用该运算符
642488_0_0_30125.cpp(13) : error C2146: 语法错误 : 缺少“;”(在标识符“n”的前面)


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-15 15:55:35, Gzip enabled