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_39724462_26761.cpp
0_0_39724462_26761.cpp(5) : error C2734: “n”: 如果不是外部的,则必须初始化常量对象
0_0_39724462_26761.cpp(5) : error C2734: “x”: 如果不是外部的,则必须初始化常量对象
0_0_39724462_26761.cpp(12) : error C2678: 二进制“>>”: 没有找到接受“std::istream”类型的左操作数的运算符(或没有可接受的转换)
        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>,const int>(std::basic_istream<char,std::char_traits<char>> &&,_Ty &)”
        with
        [
            _Ty=const int
        ]
        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, const int)”时
0_0_39724462_26761.cpp(13) : error C2678: 二进制“>>”: 没有找到接受“std::istream”类型的左操作数的运算符(或没有可接受的转换)
        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>,const int>(std::basic_istream<char,std::char_traits<char>> &&,_Ty &)”
        with
        [
            _Ty=const int
        ]
        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, const int)”时
0_0_39724462_26761.cpp(15) : error C2057: 应输入常量表达式
0_0_39724462_26761.cpp(15) : error C2466: 不能分配常量大小为 0 的数组
0_0_39724462_26761.cpp(15) : error C2133: “dp”: 未知的大小
0_0_39724462_26761.cpp(


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-18 09:46:42, Gzip enabled