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_15937582_7171.cpp
0_0_15937582_7171.cpp(11) : error C2146: 语法错误: 缺少“;”(在标识符“s”的前面)
0_0_15937582_7171.cpp(11) : error C4430: 缺少类型说明符 - 假定为 int。注意:  C++ 不支持默认 int
0_0_15937582_7171.cpp(16) : error C2784: “std::basic_istream<_Elem,_Traits> &std::getline(std::basic_istream<_Elem,_Traits> &,std::basic_string<_Elem,_Traits,_Alloc> &)”: 未能从“int”为“std::basic_string<_Elem,_Traits,_Alloc> &”推导 模板 参数
        VC2013\INCLUDE\STRING(156) : 参见“std::getline”的声明
0_0_15937582_7171.cpp(16) : error C2780: “std::basic_istream<_Elem,_Traits> &std::getline(std::basic_istream<_Elem,_Traits> &,std::basic_string<_Elem,_Traits,_Alloc> &,const _Elem)”: 应输入 3 个参数,却提供了 2 个
        VC2013\INCLUDE\STRING(145) : 参见“std::getline”的声明
0_0_15937582_7171.cpp(16) : error C2784: “std::basic_istream<_Elem,_Traits> &std::getline(std::basic_istream<_Elem,_Traits> &&,std::basic_string<_Elem,_Traits,_Alloc> &)”: 未能从“int”为“std::basic_string<_Elem,_Traits,_Alloc> &”推导 模板 参数
        VC2013\INCLUDE\STRING(125) : 参见“std::getline”的声明
0_0_15937582_7171.cpp(16) : error C2780: “std::basic_istream<_Elem,_Traits> &std::getline(std::basic_istream<_Elem,_Traits> &&,std::basic_string<_Elem,_Traits,_Alloc> &,const _Elem)”: 应输入 3 个参数,却提供了 2 个
        VC2013\INCLUDE\STRING(72) : 参见“std::getline”的声明
0_0_15937582_7171.cpp(16) : fatal error C1903: 无法从以前的错误中恢复;正在停止编译


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-10-06 18:08:40, Gzip enabled