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_33037131_5421.cpp:1:2: error: stray '#' in program
 ]#include "iostream"
  ^
0_0_33037131_5421.cpp:1:1: error: expected unqualified-id before ']' token
 ]#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 0_0_33037131_5421.cpp:2:
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: error: 'size_t' is not a member of 'std'
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: error: 'size_t' is not a member of 'std'
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: error: 'size_t' is not a member of 'std'
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: invalid template non-type parameter
GCC4.9.2/x86_64-w64-mingw32/include/c++/type_traits:1349: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:1349:32: error: 'size_t' is not a member of 'std'
GCC4.9.2/x86_64-w64-mingw32/include/c++/type_traits:1349: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:1349:65: note: invalid template non-type parameter
GCC4.9.2/x86_64-w64-mingw32/include/c++/type_traits:1354: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:1354:32: error: 'size_t' is not a member of 'std'
GCC4.9.2/x86_64-w64-mingw32/include/c++/type_traits:1354: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:1354:46: note: invalid template non-type parameter
GCC4.9.2/x86_64-w64-mingw32/include/c++/type_traits:1356:47: error: 'std::size_t' has not been declared
   template<typename _Tp, unsigned _Uint, std::size_t _Size>
                                               ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/type_traits:1358:32: error: 'size_t' is not a member of 'std'
     : public integral_constant<std::size_t,
                                ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/type_traits:1358:32: error: 'size_t' is not a member of 'std'
GCC4.9.2/x86_64-w64-mingw32/include/c++/type_traits:1360:28: error: template argument 1 is invalid
           _Uint - 1>::value>
                            ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/type_traits:1360:28: note: invalid template non-type parameter
GCC4.9.2/x86_64-w64-mingw32/include/c++/type_traits:1365:32: error: 'size_t' is not a member of 'std'
     : public integral_constant<std::size_t,
                                ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/type_traits:1365:32: error: 'size_t' is not a member of 'std'
GCC4.9.2/x86_64-w64-mingw32/include/c++/type_traits:1367:31: error: template argument 1 is invalid
              _Uint - 1>::value>
                               ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/type_traits:1367:31: note: invalid template non-type parameter
GCC4.9.2/x86_64-w64-mingw32/include/c++/type_traits:1787: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:1800: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:1859:17: error: 'std::size_t' has not been declared
   template<std::size_t _Len>
                 ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/type_traits:1879:17: error: 'std::size_t' has not been declared
   template<std::size_t _Len, std::size_t _Align =
                 ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/type_traits:1879:35: error: 'std::size_t' has not been declared
   template<std::size_t _Len, std::size_t _Align =
                                   ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_pair.h:59:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/utility:70,
                 from 0_0_33037131_5421.cpp:2:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/move.h:183:26: error: 'size_t' has not been declared
   template<typename _Tp, size_t _Nm>
                          ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/move.h: In function 'void std::swap(_Tp (&)[_Nm], _Tp (&)[_Nm])':
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/move.h:190:12: error: 'size_t' was not declared in this scope
       for (size_t __n = 0; __n < _Nm; ++__n)
            ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/move.h:190:28: error: '__n' was not declared in this scope
       for (size_t __n = 0; __n < _Nm; ++__n)
                            ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/utility:70:0,
                 from 0_0_33037131_5421.cpp:2:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_pair.h: At global scope:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_pair.h:85:17: error: 'std::size_t' has not been declared
   template<std::size_t...>
                 ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_pair.h:204:41: error: 'std::size_t' has not been declared
       template<typename... _Args1, std::size_t... _Indexes1,
                                         ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_pair.h:205:41: error: 'std::size_t' has not been declared
                typename... _Args2, std::size_t... _Indexes2>
                                         ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/utility:75:0,
                 from 0_0_33037131_5421.cpp:2:
GCC4.9.2/x86_64-w64-mingw32/include/c++/initializer_list:53:15: error: 'size_t' does not name a type
       typedef size_t   size_type;
               ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/initializer_list:59:7: error: 'size_type' does not name a type
       size_type   _M_len;
       ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/initializer_list:62:54: error: 'size_type' has not been declared
       constexpr initializer_list(const_iterator __a, size_type __l)
                                                      ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/initializer_list:70:17: error: 'size_type' does not name a type
       constexpr size_type
                 ^
GCC4


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 11:34:59, Gzip enabled