/ Vijos /

记录详情

Compile Error

foo.cpp:1:1: error: stray '\227' in program
 DP——O?n?
 ^
foo.cpp:1:1: error: stray '\227' in program
foo.cpp:1:1: error: 'DP' does not name a type
In file included from c:\mingw\lib\gcc\mingw32\4.8.1\include\c++\bits\move.h:57:0,
                 from c:\mingw\lib\gcc\mingw32\4.8.1\include\c++\bits\stl_pair.h:59,
                 from c:\mingw\lib\gcc\mingw32\4.8.1\include\c++\bits\stl_algobase.h:64,
                 from c:\mingw\lib\gcc\mingw32\4.8.1\include\c++\bits\char_traits.h:39,
                 from c:\mingw\lib\gcc\mingw32\4.8.1\include\c++\string:40,
                 from foo.cpp:12:
c:\mingw\lib\gcc\mingw32\4.8.1\include\c++\type_traits:285:31: error: 'std::size_t' has not been declared
   template<typename _Tp, std::size_t _Size>
                               ^
c:\mingw\lib\gcc\mingw32\4.8.1\include\c++\type_traits:419:34: error: 'nullptr_t' is not a member of 'std'
     struct __is_nullptr_t_helper<std::nullptr_t>
                                  ^
c:\mingw\lib\gcc\mingw32\4.8.1\include\c++\type_traits:419:34: error: 'nullptr_t' is not a member of 'std'
c:\mingw\lib\gcc\mingw32\4.8.1\include\c++\type_traits:419:48: error: template argument 1 is invalid
     struct __is_nullptr_t_helper<std::nullptr_t>
                                                ^
c:\mingw\lib\gcc\mingw32\4.8.1\include\c++\type_traits:1239:32: error: 'size_t' is not a member of 'std'
     : public integral_constant<std::size_t, __alignof__(_Tp)> { };
                                ^
c:\mingw\lib\gcc\mingw32\4.8.1\include\c++\type_traits:1239:32: note: suggested alternative:
In file included from c:\mingw\include\stdio.h:26:0,
                 from c:\mingw\lib\gcc\mingw32\4.8.1\include\c++\cstdio:42,
                 from foo.cpp:9:
c:\mingw\lib\gcc\mingw32\4.8.1\include\stddef.h:212:23: note:   'size_t'
 typedef __SIZE_TYPE__ size_t;
                       ^
In file included from c:\mingw\lib\gcc\mingw32\4.8.1\include\c++\bits\move.h:57:0,
                 from c:\mingw\lib\gcc\mingw32\4.8.1\include\c++\bits\stl_pair.h:59,
                 from c:\mingw\lib\gcc\mingw32\4.8.1\include\c++\bits\stl_algobase.h:64,
                 from c:\mingw\lib\gcc\mingw32\4.8.1\include\c++\bits\char_traits.h:39,
                 from c:\mingw\lib\gcc\mingw32\4.8.1\include\c++\string:40,
                 from foo.cpp:12:
c:\mingw\lib\gcc\mingw32\4.8.1\include\c++\type_traits:1239:32: error: 'size_t' is not a member of 'std'
     : public integral_constant<std::size_t, __alignof__(_Tp)> { };
                                ^
c:\mingw\lib\gcc\mingw32\4.8.1\include\c++\type_traits:1239:32: note: suggested alternative:
In file included from c:\mingw\include\stdio.h:26:0,
                 from c:\mingw\lib\gcc\mingw32\4.8.1\include\c++\cstdio:42,
                 from foo.cpp:9:
c:\mingw\lib\gcc\mingw32\4.8.1\include\stddef.h:212:23: note:   'size_t'
 typedef __SIZE_TYPE__ size_t;
                       ^
In file included from c:\mingw\lib\gcc\mingw32\4.8.1\include\c++\bits\move.h:57:0,
                 from c:\mingw\lib\gcc\mingw32\4.8.1\include\c++\bits\stl_pair.h:59,
                 from c:\mingw\lib\gcc\mingw32\4.8.1\include\c++\bits\stl_algobase.h:64,
                 from c:\mingw\lib\gcc\mingw32\4.8.1\include\c++\bits\char_traits.h:39,
                 from c:\mingw\lib\gcc\mingw32\4.8.1\include\c++\string:40,
                 from foo.cpp:12:
c:\mingw\lib\gcc\mingw32\4.8.1\include\c++\type_traits:1239:61: error: template argument 1 is invalid
     : public integral_constant<std::size_t, __alignof__(_Tp)> { };
                                                             ^
c:\mingw\lib\gcc\mingw32\4.8.1\include\c++\type_traits:1239:61: note: invalid template non-type parameter
c:\mingw\lib\gcc\mingw32\4.8.1\include\c++\type_traits:1244:32: error: 'size_t' is not a member of 'std'
     : public integral_constant<std::size_t, 0> { };
                                ^
c:\mingw\lib\gcc\mingw32\4.8.1\include\c++\type_traits:1244:32: note: suggested alternative:
In file included from c:\mingw\i

信息

递交者
类型
递交
题目
P1832 千年虫
语言
C++
递交时间
2016-12-15 20:19:48
评测时间
2016-12-15 20:20:03
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes