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_38593191_6135.cpp:1:2: error: stray '#' in program
 /#include<iostream>
  ^
0_0_38593191_6135.cpp:1:1: error: expected unqualified-id before '/' token
 /#include<iostream>
 ^
In file included from gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/bits/stl_algobase.h:62,
                 from gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/bits/char_traits.h:39,
                 from gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/string:40,
                 from 0_0_38593191_6135.cpp:2:
gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/ext/type_traits.h:162:35: error: 'bool __gnu_cxx::__is_null_pointer' redeclared as different kind of symbol
   __is_null_pointer(std::nullptr_t)
                                   ^
gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/ext/type_traits.h:157:5: note: previous declaration 'template<class _Type> bool __gnu_cxx::__is_null_pointer(_Type)'
     __is_null_pointer(_Type)
     ^~~~~~~~~~~~~~~~~
gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/ext/type_traits.h:162:26: error: 'nullptr_t' is not a member of 'std'
   __is_null_pointer(std::nullptr_t)
                          ^~~~~~~~~
In file included from gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/bits/move.h:55,
                 from gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/bits/stl_pair.h:59,
                 from gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/bits/stl_algobase.h:64,
                 from gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/bits/char_traits.h:39,
                 from gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/string:40,
                 from 0_0_38593191_6135.cpp:2:
gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/type_traits:350:26: error: 'std::size_t' has not been declared
   template<typename _Tp, std::size_t _Size>
                          ^~~
gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/type_traits:351:25: error: '_Size' was not declared in this scope
     struct is_array<_Tp[_Size]>
                         ^~~~~
gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/type_traits:351:31: error: template argument 1 is invalid
     struct is_array<_Tp[_Size]>
                               ^
gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/type_traits:549:42: error: 'nullptr_t' is not a member of 'std'
     struct __is_null_pointer_helper<std::nullptr_t>
                                          ^~~~~~~~~
gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/type_traits:549:51: error: template argument 1 is invalid
     struct __is_null_pointer_helper<std::nullptr_t>
                                                   ^
gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/type_traits:938:26: error: 'size_t' has not been declared
   template<typename _Tp, size_t _Num>
                          ^~~~~~
gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/type_traits:939:49: error: '_Num' was not declared in this scope
     struct __is_nt_constructible_impl<true, _Tp[_Num]>
                                                 ^~~~
gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/type_traits:939:49: note: suggested alternative: 'enum'
     struct __is_nt_constructible_impl<true, _Tp[_Num]>
                                                 ^~~~
                                                 enum
gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/type_traits:939:54: error: template argument 2 is invalid
     struct __is_nt_constructible_impl<true, _Tp[_Num]>
                                                      ^
gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/type_traits:1240:37: error: 'size_t' is not a member of 'std'
     : public integral_constant<std::size_t, alignof(_Tp)> { };
                                     ^~~~~~
gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/type_traits:1240:57: error: template argument 1 is invalid
     : public integral_constant<std::size_t, alignof(_Tp)> { };
                                                         ^
gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/type_traits:1240:57: note: invalid template non-type parameter
gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/type_traits:1245:37: error: 'size_t' is not a member of 'std'
     : public integral_constant<std::size_t, 0> { };
                                     ^~~~~~
gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/type_traits:1245:46: error: template argument 1 is invalid
     : public integral_constant<std::size_t, 0> { };
                                              ^
gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/type_traits:1245:46: note: invalid template non-type parameter
gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/type_traits:1247:26: error: 'std::size_t' has not been declared
   template<typename _Tp, std::size_t _Size>
                          ^~~
gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/type_traits:1248:21: error: '_Size' was not declared in this scope
     struct rank<_Tp[_Size]>
                     ^~~~~
gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/type_traits:1248:27: error: template argument 1 is invalid
     struct rank<_Tp[_Size]>
                           ^
gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/type_traits:1249:37: error: 'size_t' is not a member of 'std'
     : public integral_constant<std::size_t, 1 + rank<_Tp>::value> { };
                                     ^~~~~~
gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/type_traits:1249:65: error: template argument 1 is invalid
     : public integral_constant<std::size_t, 1 + rank<_Tp>::value> { };
                                                                 ^
gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/type_traits:1249:65: note: invalid template non-type parameter
gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/type_traits:1253:37: error: 'size_t' is not a member of 'std'
     : public integral_constant<std::size_t, 1 + rank<_Tp>::value> { };
                                     ^~~~~~
gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/type_traits:1253:65: error: template argument 1 is invalid
     : public integral_constant<std::size_t, 1 + rank<_Tp>::value> { };
                                                                 ^
gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/type_traits:1253:65: note: invalid template non-type parameter
gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/type_traits:1258:37: error: 'size_t' is not a member of 'std'
     : public integral_constant<std::size_t, 0> { };
                                     ^~~~~~
gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/type_traits:1258:46: error: template argument 1 is invalid
     : public integral_constant<std::size_t, 0> { };
                                              ^
gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/type_traits:1258:46: note: invalid template non-type parameter
gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/type_traits:1260:42: error: 'std::size_t' has not been declared
   template<typename _Tp, unsigned _Uint, std::size_t _Size>
                                          ^~~
gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/type_traits:1261:23: error: '_Size' was not declared in this scope
     struct extent<_Tp[_Size], _Uint>
                       ^~~~~
gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/type_traits:1261:36: error: template argument 1 is invalid
     struct extent<_Tp[_Size], _Uint>
                                    ^
gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/type_traits:1262:37: error: 'size_t' is not a member of 'std'
     : public integral_constant<std::size_t,
                                     ^~~~~~
gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/type_traits:1263:24: error: '_Size' was not declared in this scope
           _Uint == 0 ? _Size : extent<_Tp,
                        ^~~~~
gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/type_traits:1264:28: error: template argument 1 is invalid
           _Uint - 1>::value>
                            ^
gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/type_traits:1264:28: note: invalid template non-type parameter
gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/type_traits:1269:37: error: 'size_t' is not a member of 'std'
     : public integral_constant<std::size_t,
                                     ^~~~~~
gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/type_traits:1271:31: error: template argument 1 is invalid
              _Uint - 1>::value>
                               ^
gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/type_traits:1271:31: note: invalid template non-type parameter
gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/type_traits:1699:26: error: 'std::size_t' has not been declared
   template<typename _Tp, std::size_t _Size>
                          ^~~
gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/type_traits:1700:30: error: '_Size' was not declared in this scope
     struct remove_extent<_Tp[_Size]>
                              ^~~~~
gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/type_traits:1700:36: error: template argument 1 is 


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-27 10:31:29, Gzip enabled