/ Vijos /

记录详情

Compile Error

foo.cpp:1:1: error: stray '\267' in program
 ·#include<cstdio>
 ^
foo.cpp:1:2: error: stray '#' in program
 ·#include<cstdio>
  ^
foo.cpp:1:3: error: 'include' does not name a type
 ·#include<cstdio>
   ^
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++\utility:70,
                 from c:\mingw\lib\gcc\mingw32\4.8.1\include\c++\algorithm:60,
                 from foo.cpp:2:
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: error: 'size_t' is not a member of 'std'
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: error: 'size_t' is not a member of 'std'
c:\mingw\lib\gcc\mingw32\4.8.1\include\c++\type_traits:1244:46: error: template argument 1 is invalid
     : public integral_constant<std::size_t, 0> { };
                                              ^
c:\mingw\lib\gcc\mingw32\4.8.1\include\c++\type_traits:1244:46: note: invalid template non-type parameter
c:\mingw\lib\gcc\mingw32\4.8.1\include\c++\type_traits:1246: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:1248:32: error: 'size_t' is not a member of 'std'
     : public integral_constant<std::size_t, 1 + rank<_Tp>::value> { };
                                ^
c:\mingw\lib\gcc\mingw32\4.8.1\include\c++\type_traits:1248:32: error: 'size_t' is not a member of 'std'
c:\mingw\lib\gcc\mingw32\4.8.1\include\c++\type_traits:1248:65: error: template argument 1 is invalid
     : public integral_constant<std::size_t, 1 + rank<_Tp>::value> { };
                                                                 ^
c:\mingw\lib\gcc\mingw32\4.8.1\include\c++\type_traits:1248:65: note: invalid template non-type parameter
c:\mingw\lib\gcc\mingw32\4.8.1\include\c++\type_traits:1252:32: error: 'size_t' is not a member of 'std'
     : public integral_constant<std::size_t, 1 + rank<_Tp>::value> { };
                                ^
c:\mingw\lib\gcc\mingw32\4.8.1\include\c++\type_traits:1252:32: error: 'size_t' is not a member of 'std'
c:\mingw\lib\gcc\mingw32\4.8.1\include\c++\type_traits:1252:65: error: template argument 1 is invalid
     : public integral_constant<std::size_t, 1 + rank<_Tp>::value> { };
                                                                 ^
c:\mingw\lib\gcc\mingw32\4.8.1\include\c++\type_traits:1252:65: note: invalid template non-type parameter
c:\mingw\lib\gcc\mingw

信息

递交者
类型
递交
题目
P1455 最小与最大
语言
C++
递交时间
2016-11-03 23:13:36
评测时间
2016-11-03 23:13:51
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes