Home STD Contest Notification Clarification Problems Ranklist Status Print Sign Out

View Compilation Error

1_798_924_16158.cpp:1:1: error: 'include' does not name a type
 include <iostream>
 ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/move.h:57:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_pair.h:59,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/utility:70,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:60,
                 from 1_798_924_16158.cpp:3:
GCC4.9.2/x86_64-w64-mingw32/include/c++/type_traits:294:31: error: 'std::size_t' has not been declared
   template<typename _Tp, std::size_t _Size>
                               ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/type_traits:493:37: error: 'nullptr_t' is not a member of 'std'
     struct __is_null_pointer_helper<std::nullptr_t>
                                     ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/type_traits:493:37: error: 'nullptr_t' is not a member of 'std'
GCC4.9.2/x86_64-w64-mingw32/include/c++/type_traits:493:51: error: template argument 1 is invalid
     struct __is_null_pointer_helper<std::nullptr_t>
                                                   ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/type_traits:1336:32: error: 'size_t' is not a member of 'std'
     : public integral_constant<std::size_t, __alignof__(_Tp)> { };
                                ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/type_traits:1336:32: note: suggested alternative:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/crtdefs.h:10:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/string.h:9,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/cstring:42,
                 from 1_798_924_16158.cpp:2:
GCC4.9.2/x86_64-w64-mingw32/include/_mingw.h:377:44: note:   'size_t'
 __MINGW_EXTENSION typedef unsigned __int64 size_t;
                                            ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/move.h:57:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_pair.h:59,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/utility:70,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:60,
                 from 1_798_924_16158.cpp:3:
GCC4.9.2/x86_64-w64-mingw32/include/c++/type_traits:1336:32: error: 'size_t' is not a member of 'std'
     : public integral_constant<std::size_t, __alignof__(_Tp)> { };
                                ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/type_traits:1336:32: note: suggested alternative:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/crtdefs.h:10:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/string.h:9,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/cstring:42,
                 from 1_798_924_16158.cpp:2:
GCC4.9.2/x86_64-w64-mingw32/include/_mingw.h:377:44: note:   'size_t'
 __MINGW_EXTENSION typedef unsigned __int64 size_t;
                                            ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/move.h:57:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_pair.h:59,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/utility:70,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:60,
                 from 1_798_924_16158.cpp:3:
GCC4.9.2/x86_64-w64-mingw32/include/c++/type_traits:1336:61: error: template argument 1 is invalid
     : public integral_constant<std::size_t, __alignof__(_Tp)> { };
                                                             ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/type_traits:1336:61: note: invalid template non-type parameter
GCC4.9.2/x86_64-w64-mingw32/include/c++/type_traits:1341:32: error: 'size_t' is not a member of 'std'
     : public integral_constant<std::size_t, 0> { };
                                ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/type_traits:1341:32: note: suggested alternative:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/crtdefs.h:10:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/string.h:9,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/cstring:42,
                 from 1_798_924_16158.cpp:2:
GCC4.9.2/x86_64-w64-mingw32/include/_mingw.h:377:44: note:   'size_t'
 __MINGW_EXTENSION typedef unsigned __int64 size_t;
                                            ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/move.h:57:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_pair.h:59,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/utility:70,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:60,
                 from 1_798_924_16158.cpp:3:
GCC4.9.2/x86_64-w64-mingw32/include/c++/type_traits:1341:32: error: 'size_t' is not a member of 'std'
     : public integral_constant<std::size_t, 0> { };
                                ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/type_traits:1341:32: note: suggested alternative:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/crtdefs.h:10:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/string.h:9,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/cstring:42,
                 from 1_798_924_16158.cpp:2:
GCC4.9.2/x86_64-w64-mingw32/include/_mingw.h:377:44: note:   'size_t'
 __MINGW_EXTENSION typedef unsigned __int64 size_t;
                                            ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/move.h:57:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_pair.h:59,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/utility:70,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:60,
                 from 1_798_924_16158.cpp:3:
GCC4.9.2/x86_64-w64-mingw32/include/c++/type_traits:1341:46: error: template argument 1 is invalid
     : public integral_constant<std::size_t, 0> { };
                                              ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/type_traits:1341:46: note: invalid template non-type parameter
GCC4.9.2/x86_64-w64-mingw32/include/c++/type_traits:1343:31: error: 'std::size_t' has not been declared
   template<typename _Tp, std::size_t _Size>
                               ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/type_traits:1345:32: error: 'size_t' is not a member of 'std'
     : public integral_constant<std::size_t, 1 + rank<_Tp>::value> { };
                                ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/type_traits:1345:32: note: suggested alternative:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/crtdefs.h:10:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/string.h:9,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/cstring:42,
                 from 1_798_924_16158.cpp:2:
GCC4.9.2/x86_64-w64-mingw32/include/_mingw.h:377:44: note:   'size_t'
 __MINGW_EXTENSION typedef unsigned __int64 size_t;
                                            ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/move.h:57:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_pair.h:59,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/utility:70,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:60,
                 from 1_798_924_16158.cpp:3:
GCC4.9.2/x86_64-w64-mingw32/include/c++/type_traits:1345:32: error: 'size_t' is not a member of 'std'
     : public integral_constant<std::size_t, 1 + rank<_Tp>::value> { };
                                ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/type_traits:1345:32: note: suggested alternative:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/crtdefs.h:10:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/string.h:9,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/cstring:42,
                 from 1_798_924_16158.cpp:2:
GCC4.9.2/x86_64-w64-mingw32/include/_mingw.h:377:44: note:   'size_t'
 __MINGW_EXTENSION typedef unsigned __int64 size_t;
                                            ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/move.h:57:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_pair.h:59,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/utility:70,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:60,
                 from 1_798_924_16158.cpp:3:
GCC4.9.2/x86_64-w64-mingw32/include/c++/type_traits:1345:65: error: template argument 1 is invalid
     : public integral_constant<std::size_t, 1 + rank<_Tp>::value> { };
                                                                 ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/type_traits:1345:65: note: inva


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-16 14:59:13, Gzip enabled