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_39798955_3149.cpp
0_0_39798955_3149.cpp(9) : error C2065: “map”: 未声明的标识符
0_0_39798955_3149.cpp(9) : error C2275: “std::string”: 将此类型用作表达式非法
        VC2013\INCLUDE\xstring(2643) : 参见“std::string”的声明
0_0_39798955_3149.cpp(9) : error C2062: 意外的类型“int” 
0_0_39798955_3149.cpp(12) : error C2679: 二进制“>>”: 没有找到接受“std::string”类型的右操作数的运算符(或没有可接受的转换)
        VC2013\INCLUDE\istream(485): 可能是“std::basic_istream<char,std::char_traits<char>> &std::basic_istream<char,std::char_traits<char>>::operator >>(std::basic_streambuf<char,std::char_traits<char>> *)”
        VC2013\INCLUDE\istream(466): 或       “std::basic_istream<char,std::char_traits<char>> &std::basic_istream<char,std::char_traits<char>>::operator >>(void *&)”
        VC2013\INCLUDE\istream(448): 或       “std::basic_istream<char,std::char_traits<char>> &std::basic_istream<char,std::char_traits<char>>::operator >>(long double &)”
        VC2013\INCLUDE\istream(430): 或       “std::basic_istream<char,std::char_traits<char>> &std::basic_istream<char,std::char_traits<char>>::operator >>(double &)”
        VC2013\INCLUDE\istream(411): 或       “std::basic_istream<char,std::char_traits<char>> &std::basic_istream<char,std::char_traits<char>>::operator >>(float &)”
        VC2013\INCLUDE\istream(392): 或       “std::basic_istream<char,std::char_traits<char>> &std::basic_istream<char,std::char_traits<char>>::operator >>(unsigned __int64 &)”
        VC2013\INCLUDE\istream(373): 或       “std::basic_istream<char,std::char_traits<char>> &std::basic_istream<char,std::char_traits<char>>::operator >>(__int64 &)”
        VC2013\INCLUDE\istream(353): 或       “std::basic_istream<char,std::char_traits<char>> &std::basic_istream<char,std::char_traits<char>>::operator >>(unsigned long &)”
        VC2013\INCLUDE\istream(335): 或       “std::basic_istream<char,std::char_traits<char>> &std::basic_istream<char,std::char_traits<char>>::operator >>(long &)”
        VC2013\INCLUDE\istream(317): 或       “std::basic_istream<char,std::char_traits<char>> &std::basic_istream<char,std::char_traits<char>>::operator >>(unsigned int &)”
        VC2013\INCLUDE\istream(291): 或       “std::basic_istream<char,std::char_traits<char>> &std::basic_istream<char,std::char_traits<char>>::operator >>(int &)”
        VC2013\INCLUDE\istream(272): 或       “std::basic_istream<char,std::char_traits<char>> &std::basic_istream<char,std::char_traits<char>>::operator >>(unsigned short &)”
        VC2013\INCLUDE\istream(237): 或       “std::basic_istream<char,std::char_traits<char>> &std::basic_istream<char,std::char_traits<char>>::operator >>(short &)”
        VC2013\INCLUDE\istream(218): 或       “std::basic_istream<char,std::char_traits<char>> &std::basic_istream<char,std::char_traits<char>>::operator >>(std::_Bool &)”
        VC2013\INCLUDE\istream(211): 或       “std::basic_istream<char,std::char_traits<char>> &std::basic_istream<char,std::char_traits<char>>::operator >>(std::ios_base &(__cdecl *)(std::ios_base &))”
        VC2013\INCLUDE\istream(204): 或       “std::basic_istream<char,std::char_traits<char>> &std::basic_istream<char,std::char_traits<char>>::operator >>(std::basic_ios<char,std::char_traits<char>> &(__cdecl *)(std::basic_ios<char,std::char_traits<char>> &))”
        VC2013\INCLUDE\istream(198): 或       “std::basic_istream<char,std::char_traits<char>> &std::basic_istream<char,std::char_traits<char>>::operator >>(std::basic_istream<char,std::char_traits<char>> &(__cdecl *)(std::basic_istream<char,std::char_traits<char>> &))”
        VC2013\INCLUDE\istream(1103): 或       “std::basic_istream<char,std::char_traits<char>> &std::operator >><char,std::char_traits<char>,std::string>(std::basic_istream<char,std::char_traits<char>> &&,_Ty &)”
        with
        [
            _Ty=std::string
        ]
        VC2013\INCLUDE\istream(1093): 或       “std::basic_istream<char,std::char_traits<char>> &std::operator >><std::char_traits<char>>(std::basic_istream<char,std::char_traits<char>> &,unsigned char &)”
        VC2013\INCLUDE\istream(1086): 或       “std::basic_istream<char,std::char_traits<char>> &std::operator >><std::char_traits<char>>(std::basic_istream<char,std::char_traits<char>> &,unsigned char *)”
        VC2013\INCLUDE\istream(1079): 或       “std::basic_istream<char,std::char_traits<char>> &std::operator >><std::char_traits<char>>(std::basic_istream<char,std::char_traits<char>> &,signed char &)”
        VC2013\INCLUDE\istream(1072): 或       “std::basic_istream<char,std::char_traits<char>> &std::operator >><std::char_traits<char>>(std::basic_istream<char,std::char_traits<char>> &,signed char *)”
        尝试匹配参数列表“(std::istream, std::string)”时
0_0_39798955_3149.cpp(13) : error C2065: “p”: 未声明的标识符
0_0_39798955_3149.cpp(13) : error C2228: “.count”的左边必须有类/结构/联合
        类型是“unknown-type”
0_0_39798955_3149.cpp(14) : error C2065: “p”: 未声明的标识符
0_0_39798955_3149.cpp(16) : error C2065: “p”: 未声明的标识符
0_0_39798955_3149.cpp(16) : error C2228: “.insert”的左边必须有类/结构/联合
        类型是“unknown-type”
0_0_39798955_3149.cpp(20) : error C2065: “map”: 未声明的标识符
0_0_39798955_3149.cpp(20) : error C2275: “std::string”: 将此类型用作表达式非法
        VC2013\INCLUDE\xstring(2643) : 参见“std::string”的声明
0_0_39798955_3149.cpp(20) : error C2062: 意外的类型“int” 
0_0_39798955_3149.cpp(20) : error C2065: “it”: 未声明的标识符
0_0_39798955_3149.cpp(20) : error C2065: “p”: 未声明的标识符
0_0_39798955_3149.cpp(20) : error C2228: “.end”的左边必须有类/结构/联合
        类型是“unknown-type”
0_0_39798955_3149.cpp(20) : error C2143: 语法错误 : 缺少“;”(在“)”的前面)
0_0_39798955_3149.cpp(21) : error C2143: 语法错误 : 缺少“;”(在“{”的前面)
0_0_39798955_3149.cpp(22) : error C2065: “it”: 未声明的标识符
0_0_39798955_3149.cpp(22) : error C2227: “->second”的左边必须指向类/结构/联合/泛型类型
        类型是“unknown-type”
0_0_39798955_3149.cpp(24) : error C2065: “it”: 未声明的标识符
0_0_39798955_3149.cpp(24) : error C2227: “->second”的左边必须指向类/结构/联合/泛型类型
        类型是“unknown-type”
0_0_39798955_3149.cpp(25) : error C2065: “it”: 未声明的标识符
0_0_39798955_3149.cpp(25) : error C2227: “->first”的左边必须指向类/结构/联合/泛型类型
        类型是“unknown-type”
0_0_39798955_3149.cpp(28) : error C2679: 二进制“<<”: 没有找到接受“std::string”类型的右操作数的运算符(或没有可接受的转换)
        VC2013\INCLUDE\ostream(498): 可能是“std::basic_ostream<char,std::char_traits<char>> &std::basic_ostream<char,std::char_traits<char>>::operator <<(std::basic_streambuf<char,std::char_traits<char>> *)”
        VC2013\INCLUDE\ostream(478): 或       “std::basic_ostream<char,std::char_traits<char>> &std::basic_ostream<char,std::char_traits<char>>::operator <<(const void *)”
        VC2013\INCLUDE\ostream(458): 或       “std::basic_ostream<char,std::char_traits<char>> &std::basic_ostream<char,std::char_traits<char>>::operator <<(long double)”
        VC2013\INCLUDE\ostream(438): 或       “std::basic_ostream<char,std::char_traits<char>> &std::basic_ostream<char,std::char_traits<char>>::operator <<(double)”
        VC2013\INCLUDE\ostream(418): 或       “std::basic_ostream<char,std::char_traits<char>> &std::basic_ostream<char,std::char_traits<char>>::operator <<(float)”
        VC2013\INCLUDE\ostream(397): 或       “std::basic_ostream<char,std::char_traits<char>> &std::basic_ostream<char,std::char_traits<char>>::operator <<(unsigned __int64)”
        VC2013\INCLUDE\ostream(377): 或       “std::basic_ostream<char,std::char_traits<char>> &std::basic_ostream<char,std::char_traits<char>>::operator <<(__int64)”
        VC2013\INCLUDE\ostream(356): 或       “std::basic_ostream<char,std::char_traits<char>> &std::basic_ostream<char,std::char_traits<char>>::operator <<(unsigned long)”
        VC2013\INCLUDE\ostream(336): 或       “std::basic_ostream<char,std::char_traits<char>> &std::basic_ostream<char,std::char_traits<char>>::operator <<(long)”
        VC2013\INCLUDE\ostream(316): 或       “std::basic_ostream<char,std::char_traits<char>> &std::basic_ostream<char,std::char_traits<char>>::operator <<(unsigned int)”
        VC2013\INCLUDE\ostream(291): 或       “std::basic_ostream<char,std::char_traits<char>> &std::basic_ostream<char,std::char_traits<char>>::operator <<(int)”
        VC2013\INCLUDE\ostream(271): 或       “std::basic_ostream<char,std::char_traits<char>> &std::basic_ostream<char,std::char_traits<char>>::operator <<(unsigned short)”
        VC2013\INCLUDE\ostream(237): 或       “std::basic_ostream<char,std::char_traits<char>> &std::basic_ostream<char,std::char_traits<char>>::operator <<(short)”
        VC2013\INCLUDE\ostream(217): 或       “std::basic_ostream<char,std::char_traits<char>> &std::basic_ostream<char,std::char_traits<char>>::operator <<(std::_Bool)”
        VC2013\INCLUDE\ostream(210): 或       “std::basic_ostream<char,std::char_traits<char>> &std::basic_ostream<char,std::char_traits<char>>::operator <<(std::ios_base &(__cdecl *)(std::ios_base &))”
        VC2013\INCLUDE\ostream(203): 或       “std::basic_ostream<char,std::char_traits<char>> &std::basic_ostream<char,std::char_traits<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-29 07:51:11, Gzip enabled