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_1818924_13792.cpp
0_0_1818924_13792.cpp(11) : error C2784: “std::basic_istream<_Elem,_Traits> &std::getline(std::basic_istream<_Elem,_Traits> &,std::basic_string<_Elem,_Traits,_Alloc> &)” : 未能推导出“std::basic_string<_Elem,_Traits,_Ax> &”(从“char [160]”中)的模板参数
        VC\include\string(525) : 参见“std::getline”的声明
0_0_1818924_13792.cpp(11) : error C2780: “std::basic_istream<_Elem,_Traits> &std::getline(std::basic_istream<_Elem,_Traits> &,std::basic_string<_Elem,_Traits,_Alloc> &,const _Elem)” : 应输入 3 个参数,却提供了 2 个
        VC\include\string(473) : 参见“std::getline”的声明
0_0_1818924_13792.cpp(12) : error C2228: “.size”的左侧必须有类/结构/联合类型
        类型是“char [160]”


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-26 06:52:17, Gzip enabled