█████████ ████ ███░░░░░███ ░░███ ███ ░░░ ██████ ███████ ██████ ██████ ░███ ███░░███ ███░░███ ███░░███ ███░░███ ░███ ░███ ░███░███ ░███ ░███████ ░███ ░███ ░░███ ███░███ ░███░███ ░███ ░███░░░ ░███ ░███ ░░█████████ ░░██████ ░░████████░░██████ ░░██████ ░░░░░░░░░ ░░░░░░ ░░░░░░░░ ░░░░░░ ░░░░░░

Envío 3127

Problema 0x9d - ¿Está ordenado?

  • Autor: nicolas
  • Fecha: 2021-02-21 01:19:25 UTC (Hace casi 4 años)
Caso # Resultado Tiempo Memoria
#1
Error de compilación
                      main.cpp:11:19: error: expression is not assignable
for(int i=0; i<n; ++1){
                  ^ ~
main.cpp:13:15: error: assigning to '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type' (aka 'int') from incompatible type 'std::basic_istream<char, std::char_traits<char> >::__istream_type' (aka 'basic_istream<char, std::char_traits<char> >')
array[i]= cin >> numero;
          ~~~~^~~~~~~~~
main.cpp:16:19: error: expression is not assignable
for(int i=1; i<n; ++1){
                  ^ ~
main.cpp:17:28: error: invalid operands to binary expression ('std::ostream' (aka 'basic_ostream<char>') and 'const char [12]')
if(arrayAux[i]<first){cout >> "Desordenado"; return 0;}else{
                      ~~~~ ^  ~~~~~~~~~~~~~
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/streambuf:175:9: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
        operator>>(basic_istream<_CharT2, _Traits2>&,
        ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/istream:756:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(basic_istream<char, _Traits>& __in, unsigned char& __c)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/istream:761:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(basic_istream<char, _Traits>& __in, signed char& __c)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/istream:803:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(basic_istream<char, _Traits>& __in, unsigned char* __s)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/istream:808:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(basic_istream<char, _Traits>& __in, signed char* __s)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/istream.tcc:931:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(basic_istream<_CharT, _Traits>& __in, _CharT& __c)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/istream.tcc:963:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/istream:980:5: note: candidate template ignored: requirement '__and_<__not_<is_lvalue_reference<basic_ostream<char> &> >, __is_convertible_to_basic_istream<basic_ostream<char> &>, __is_extractable<__rvalue_istream_type<basic_ostream<char> &>, char const (&)[12]> >::value' was not satisfied [with _Istream = std::basic_ostream<char> &, _Tp = char const (&)[12]]
    operator>>(_Istream&& __is, _Tp&& __x)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/complex:493:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(basic_istream<_CharT, _Traits>& __is, complex<_Tp>& __x)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bitset:1466:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is, bitset<_Nb>& __x)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/iomanip:71:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(basic_istream<_CharT, _Traits>& __is, _Resetiosflags __f)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/iomanip:101:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(basic_istream<_CharT, _Traits>& __is, _Setiosflags __f)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/iomanip:132:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(basic_istream<_CharT, _Traits>& __is, _Setbase __f)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/iomanip:170:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(basic_istream<_CharT, _Traits>& __is, _Setfill<_CharT> __f)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/iomanip:200:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(basic_istream<_CharT, _Traits>& __is, _Setprecision __f)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/iomanip:230:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(basic_istream<_CharT, _Traits>& __is, _Setw __f)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/iomanip:264:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(basic_istream<_CharT, _Traits>& __is, _Get_money<_MoneyT> __f)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/iomanip:418:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(basic_istream<_CharT, _Traits>& __is, _Get_time<_CharT> __f)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/valarray_after.h:411:5: note: candidate template ignored: could not match '_Expr' against 'basic_ostream'
    _DEFINE_EXPR_BINARY_OPERATOR(>>, __shift_right)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/valarray_after.h:341:5: note: expanded from macro '_DEFINE_EXPR_BINARY_OPERATOR'
    operator _Op(const _Expr<_Dom1, typename _Dom1::value_type>& __v,   \
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/valarray_after.h:411:5: note: candidate template ignored: could not match '_Expr' against 'basic_ostream'
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/valarray_after.h:354:5: note: expanded from macro '_DEFINE_EXPR_BINARY_OPERATOR'
    operator _Op(const _Expr<_Dom, typename _Dom::value_type>& __v,     \
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/valarray_after.h:411:5: note: candidate template ignored: could not match '_Expr<type-parameter-0-0, typename type-parameter-0-0::value_type>' against 'char const[12]'
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/valarray_after.h:367:5: note: expanded from macro '_DEFINE_EXPR_BINARY_OPERATOR'
    operator _Op(const typename _Dom::value_type& __t,                  \
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/valarray_after.h:411:5: note: candidate template ignored: could not match '_Expr' against 'basic_ostream'
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/valarray_after.h:380:5: note: expanded from macro '_DEFINE_EXPR_BINARY_OPERATOR'
    operator _Op(const _Expr<_Dom,typename _Dom::value_type>& __e,      \
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/valarray_after.h:411:5: note: candidate template ignored: could not match '_Expr<type-parameter-0-0, typename type-parameter-0-0::value_type>' against 'char const[12]'
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/valarray_after.h:393:5: note: expanded from macro '_DEFINE_EXPR_BINARY_OPERATOR'
    operator _Op(const valarray<typename _Dom::value_type>& __v,        \
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/valarray:1181:1: note: candidate template ignored: could not match 'valarray' against 'basic_ostream'
_DEFINE_BINARY_OPERATOR(>>, __shift_right)
^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/valarray:1144:5: note: expanded from macro '_DEFINE_BINARY_OPERATOR'
    operator _Op(const valarray<_Tp>& __v, const valarray<_Tp>& __w)    \
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/valarray:1181:1: note: candidate template ignored: could not match 'valarray' against 'basic_ostream'
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/valarray:1155:5: note: expanded from macro '_DEFINE_BINARY_OPERATOR'
    operator _Op(const valarray<_Tp>& __v, const _Tp& __t)              \
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/valarray:1181:1: note: candidate template ignored: could not match 'valarray<type-parameter-0-0>' against 'char const[12]'
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/valarray:1165:5: note: expanded from macro '_DEFINE_BINARY_OPERATOR'
    operator _Op(const _Tp& __t, const valarray<_Tp>& __v)              \
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.h:3644:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:175:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:502:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:654:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:722:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:853:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:895:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:957:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:1101:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:1217:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:1428:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:1696:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:1757:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:1928:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:1991:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:2063:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:2150:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:2228:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:2302:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:2472:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:2549:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:2625:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:2764:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:2979:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:3195:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
4 errors generated.

                    
#2
Error de compilación
                      main.cpp:11:19: error: expression is not assignable
for(int i=0; i<n; ++1){
                  ^ ~
main.cpp:13:15: error: assigning to '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type' (aka 'int') from incompatible type 'std::basic_istream<char, std::char_traits<char> >::__istream_type' (aka 'basic_istream<char, std::char_traits<char> >')
array[i]= cin >> numero;
          ~~~~^~~~~~~~~
main.cpp:16:19: error: expression is not assignable
for(int i=1; i<n; ++1){
                  ^ ~
main.cpp:17:28: error: invalid operands to binary expression ('std::ostream' (aka 'basic_ostream<char>') and 'const char [12]')
if(arrayAux[i]<first){cout >> "Desordenado"; return 0;}else{
                      ~~~~ ^  ~~~~~~~~~~~~~
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/streambuf:175:9: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
        operator>>(basic_istream<_CharT2, _Traits2>&,
        ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/istream:756:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(basic_istream<char, _Traits>& __in, unsigned char& __c)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/istream:761:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(basic_istream<char, _Traits>& __in, signed char& __c)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/istream:803:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(basic_istream<char, _Traits>& __in, unsigned char* __s)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/istream:808:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(basic_istream<char, _Traits>& __in, signed char* __s)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/istream.tcc:931:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(basic_istream<_CharT, _Traits>& __in, _CharT& __c)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/istream.tcc:963:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/istream:980:5: note: candidate template ignored: requirement '__and_<__not_<is_lvalue_reference<basic_ostream<char> &> >, __is_convertible_to_basic_istream<basic_ostream<char> &>, __is_extractable<__rvalue_istream_type<basic_ostream<char> &>, char const (&)[12]> >::value' was not satisfied [with _Istream = std::basic_ostream<char> &, _Tp = char const (&)[12]]
    operator>>(_Istream&& __is, _Tp&& __x)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/complex:493:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(basic_istream<_CharT, _Traits>& __is, complex<_Tp>& __x)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bitset:1466:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is, bitset<_Nb>& __x)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/iomanip:71:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(basic_istream<_CharT, _Traits>& __is, _Resetiosflags __f)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/iomanip:101:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(basic_istream<_CharT, _Traits>& __is, _Setiosflags __f)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/iomanip:132:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(basic_istream<_CharT, _Traits>& __is, _Setbase __f)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/iomanip:170:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(basic_istream<_CharT, _Traits>& __is, _Setfill<_CharT> __f)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/iomanip:200:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(basic_istream<_CharT, _Traits>& __is, _Setprecision __f)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/iomanip:230:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(basic_istream<_CharT, _Traits>& __is, _Setw __f)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/iomanip:264:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(basic_istream<_CharT, _Traits>& __is, _Get_money<_MoneyT> __f)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/iomanip:418:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(basic_istream<_CharT, _Traits>& __is, _Get_time<_CharT> __f)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/valarray_after.h:411:5: note: candidate template ignored: could not match '_Expr' against 'basic_ostream'
    _DEFINE_EXPR_BINARY_OPERATOR(>>, __shift_right)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/valarray_after.h:341:5: note: expanded from macro '_DEFINE_EXPR_BINARY_OPERATOR'
    operator _Op(const _Expr<_Dom1, typename _Dom1::value_type>& __v,   \
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/valarray_after.h:411:5: note: candidate template ignored: could not match '_Expr' against 'basic_ostream'
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/valarray_after.h:354:5: note: expanded from macro '_DEFINE_EXPR_BINARY_OPERATOR'
    operator _Op(const _Expr<_Dom, typename _Dom::value_type>& __v,     \
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/valarray_after.h:411:5: note: candidate template ignored: could not match '_Expr<type-parameter-0-0, typename type-parameter-0-0::value_type>' against 'char const[12]'
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/valarray_after.h:367:5: note: expanded from macro '_DEFINE_EXPR_BINARY_OPERATOR'
    operator _Op(const typename _Dom::value_type& __t,                  \
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/valarray_after.h:411:5: note: candidate template ignored: could not match '_Expr' against 'basic_ostream'
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/valarray_after.h:380:5: note: expanded from macro '_DEFINE_EXPR_BINARY_OPERATOR'
    operator _Op(const _Expr<_Dom,typename _Dom::value_type>& __e,      \
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/valarray_after.h:411:5: note: candidate template ignored: could not match '_Expr<type-parameter-0-0, typename type-parameter-0-0::value_type>' against 'char const[12]'
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/valarray_after.h:393:5: note: expanded from macro '_DEFINE_EXPR_BINARY_OPERATOR'
    operator _Op(const valarray<typename _Dom::value_type>& __v,        \
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/valarray:1181:1: note: candidate template ignored: could not match 'valarray' against 'basic_ostream'
_DEFINE_BINARY_OPERATOR(>>, __shift_right)
^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/valarray:1144:5: note: expanded from macro '_DEFINE_BINARY_OPERATOR'
    operator _Op(const valarray<_Tp>& __v, const valarray<_Tp>& __w)    \
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/valarray:1181:1: note: candidate template ignored: could not match 'valarray' against 'basic_ostream'
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/valarray:1155:5: note: expanded from macro '_DEFINE_BINARY_OPERATOR'
    operator _Op(const valarray<_Tp>& __v, const _Tp& __t)              \
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/valarray:1181:1: note: candidate template ignored: could not match 'valarray<type-parameter-0-0>' against 'char const[12]'
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/valarray:1165:5: note: expanded from macro '_DEFINE_BINARY_OPERATOR'
    operator _Op(const _Tp& __t, const valarray<_Tp>& __v)              \
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.h:3644:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:175:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:502:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:654:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:722:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:853:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:895:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:957:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:1101:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:1217:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:1428:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:1696:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:1757:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:1928:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:1991:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:2063:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:2150:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:2228:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:2302:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:2472:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:2549:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:2625:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:2764:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:2979:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:3195:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
4 errors generated.

                    
#3
Error de compilación
                      main.cpp:11:19: error: expression is not assignable
for(int i=0; i<n; ++1){
                  ^ ~
main.cpp:13:15: error: assigning to '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type' (aka 'int') from incompatible type 'std::basic_istream<char, std::char_traits<char> >::__istream_type' (aka 'basic_istream<char, std::char_traits<char> >')
array[i]= cin >> numero;
          ~~~~^~~~~~~~~
main.cpp:16:19: error: expression is not assignable
for(int i=1; i<n; ++1){
                  ^ ~
main.cpp:17:28: error: invalid operands to binary expression ('std::ostream' (aka 'basic_ostream<char>') and 'const char [12]')
if(arrayAux[i]<first){cout >> "Desordenado"; return 0;}else{
                      ~~~~ ^  ~~~~~~~~~~~~~
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/streambuf:175:9: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
        operator>>(basic_istream<_CharT2, _Traits2>&,
        ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/istream:756:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(basic_istream<char, _Traits>& __in, unsigned char& __c)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/istream:761:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(basic_istream<char, _Traits>& __in, signed char& __c)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/istream:803:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(basic_istream<char, _Traits>& __in, unsigned char* __s)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/istream:808:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(basic_istream<char, _Traits>& __in, signed char* __s)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/istream.tcc:931:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(basic_istream<_CharT, _Traits>& __in, _CharT& __c)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/istream.tcc:963:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/istream:980:5: note: candidate template ignored: requirement '__and_<__not_<is_lvalue_reference<basic_ostream<char> &> >, __is_convertible_to_basic_istream<basic_ostream<char> &>, __is_extractable<__rvalue_istream_type<basic_ostream<char> &>, char const (&)[12]> >::value' was not satisfied [with _Istream = std::basic_ostream<char> &, _Tp = char const (&)[12]]
    operator>>(_Istream&& __is, _Tp&& __x)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/complex:493:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(basic_istream<_CharT, _Traits>& __is, complex<_Tp>& __x)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bitset:1466:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is, bitset<_Nb>& __x)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/iomanip:71:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(basic_istream<_CharT, _Traits>& __is, _Resetiosflags __f)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/iomanip:101:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(basic_istream<_CharT, _Traits>& __is, _Setiosflags __f)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/iomanip:132:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(basic_istream<_CharT, _Traits>& __is, _Setbase __f)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/iomanip:170:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(basic_istream<_CharT, _Traits>& __is, _Setfill<_CharT> __f)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/iomanip:200:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(basic_istream<_CharT, _Traits>& __is, _Setprecision __f)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/iomanip:230:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(basic_istream<_CharT, _Traits>& __is, _Setw __f)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/iomanip:264:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(basic_istream<_CharT, _Traits>& __is, _Get_money<_MoneyT> __f)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/iomanip:418:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(basic_istream<_CharT, _Traits>& __is, _Get_time<_CharT> __f)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/valarray_after.h:411:5: note: candidate template ignored: could not match '_Expr' against 'basic_ostream'
    _DEFINE_EXPR_BINARY_OPERATOR(>>, __shift_right)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/valarray_after.h:341:5: note: expanded from macro '_DEFINE_EXPR_BINARY_OPERATOR'
    operator _Op(const _Expr<_Dom1, typename _Dom1::value_type>& __v,   \
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/valarray_after.h:411:5: note: candidate template ignored: could not match '_Expr' against 'basic_ostream'
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/valarray_after.h:354:5: note: expanded from macro '_DEFINE_EXPR_BINARY_OPERATOR'
    operator _Op(const _Expr<_Dom, typename _Dom::value_type>& __v,     \
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/valarray_after.h:411:5: note: candidate template ignored: could not match '_Expr<type-parameter-0-0, typename type-parameter-0-0::value_type>' against 'char const[12]'
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/valarray_after.h:367:5: note: expanded from macro '_DEFINE_EXPR_BINARY_OPERATOR'
    operator _Op(const typename _Dom::value_type& __t,                  \
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/valarray_after.h:411:5: note: candidate template ignored: could not match '_Expr' against 'basic_ostream'
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/valarray_after.h:380:5: note: expanded from macro '_DEFINE_EXPR_BINARY_OPERATOR'
    operator _Op(const _Expr<_Dom,typename _Dom::value_type>& __e,      \
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/valarray_after.h:411:5: note: candidate template ignored: could not match '_Expr<type-parameter-0-0, typename type-parameter-0-0::value_type>' against 'char const[12]'
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/valarray_after.h:393:5: note: expanded from macro '_DEFINE_EXPR_BINARY_OPERATOR'
    operator _Op(const valarray<typename _Dom::value_type>& __v,        \
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/valarray:1181:1: note: candidate template ignored: could not match 'valarray' against 'basic_ostream'
_DEFINE_BINARY_OPERATOR(>>, __shift_right)
^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/valarray:1144:5: note: expanded from macro '_DEFINE_BINARY_OPERATOR'
    operator _Op(const valarray<_Tp>& __v, const valarray<_Tp>& __w)    \
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/valarray:1181:1: note: candidate template ignored: could not match 'valarray' against 'basic_ostream'
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/valarray:1155:5: note: expanded from macro '_DEFINE_BINARY_OPERATOR'
    operator _Op(const valarray<_Tp>& __v, const _Tp& __t)              \
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/valarray:1181:1: note: candidate template ignored: could not match 'valarray<type-parameter-0-0>' against 'char const[12]'
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/valarray:1165:5: note: expanded from macro '_DEFINE_BINARY_OPERATOR'
    operator _Op(const _Tp& __t, const valarray<_Tp>& __v)              \
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.h:3644:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:175:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:502:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:654:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:722:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:853:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:895:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:957:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:1101:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:1217:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:1428:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:1696:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:1757:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:1928:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:1991:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:2063:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:2150:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:2228:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:2302:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:2472:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:2549:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:2625:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:2764:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:2979:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:3195:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
4 errors generated.

                    
#4
Error de compilación
                      main.cpp:11:19: error: expression is not assignable
for(int i=0; i<n; ++1){
                  ^ ~
main.cpp:13:15: error: assigning to '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type' (aka 'int') from incompatible type 'std::basic_istream<char, std::char_traits<char> >::__istream_type' (aka 'basic_istream<char, std::char_traits<char> >')
array[i]= cin >> numero;
          ~~~~^~~~~~~~~
main.cpp:16:19: error: expression is not assignable
for(int i=1; i<n; ++1){
                  ^ ~
main.cpp:17:28: error: invalid operands to binary expression ('std::ostream' (aka 'basic_ostream<char>') and 'const char [12]')
if(arrayAux[i]<first){cout >> "Desordenado"; return 0;}else{
                      ~~~~ ^  ~~~~~~~~~~~~~
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/streambuf:175:9: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
        operator>>(basic_istream<_CharT2, _Traits2>&,
        ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/istream:756:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(basic_istream<char, _Traits>& __in, unsigned char& __c)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/istream:761:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(basic_istream<char, _Traits>& __in, signed char& __c)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/istream:803:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(basic_istream<char, _Traits>& __in, unsigned char* __s)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/istream:808:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(basic_istream<char, _Traits>& __in, signed char* __s)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/istream.tcc:931:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(basic_istream<_CharT, _Traits>& __in, _CharT& __c)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/istream.tcc:963:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/istream:980:5: note: candidate template ignored: requirement '__and_<__not_<is_lvalue_reference<basic_ostream<char> &> >, __is_convertible_to_basic_istream<basic_ostream<char> &>, __is_extractable<__rvalue_istream_type<basic_ostream<char> &>, char const (&)[12]> >::value' was not satisfied [with _Istream = std::basic_ostream<char> &, _Tp = char const (&)[12]]
    operator>>(_Istream&& __is, _Tp&& __x)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/complex:493:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(basic_istream<_CharT, _Traits>& __is, complex<_Tp>& __x)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bitset:1466:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is, bitset<_Nb>& __x)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/iomanip:71:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(basic_istream<_CharT, _Traits>& __is, _Resetiosflags __f)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/iomanip:101:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(basic_istream<_CharT, _Traits>& __is, _Setiosflags __f)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/iomanip:132:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(basic_istream<_CharT, _Traits>& __is, _Setbase __f)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/iomanip:170:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(basic_istream<_CharT, _Traits>& __is, _Setfill<_CharT> __f)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/iomanip:200:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(basic_istream<_CharT, _Traits>& __is, _Setprecision __f)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/iomanip:230:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(basic_istream<_CharT, _Traits>& __is, _Setw __f)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/iomanip:264:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(basic_istream<_CharT, _Traits>& __is, _Get_money<_MoneyT> __f)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/iomanip:418:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(basic_istream<_CharT, _Traits>& __is, _Get_time<_CharT> __f)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/valarray_after.h:411:5: note: candidate template ignored: could not match '_Expr' against 'basic_ostream'
    _DEFINE_EXPR_BINARY_OPERATOR(>>, __shift_right)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/valarray_after.h:341:5: note: expanded from macro '_DEFINE_EXPR_BINARY_OPERATOR'
    operator _Op(const _Expr<_Dom1, typename _Dom1::value_type>& __v,   \
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/valarray_after.h:411:5: note: candidate template ignored: could not match '_Expr' against 'basic_ostream'
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/valarray_after.h:354:5: note: expanded from macro '_DEFINE_EXPR_BINARY_OPERATOR'
    operator _Op(const _Expr<_Dom, typename _Dom::value_type>& __v,     \
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/valarray_after.h:411:5: note: candidate template ignored: could not match '_Expr<type-parameter-0-0, typename type-parameter-0-0::value_type>' against 'char const[12]'
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/valarray_after.h:367:5: note: expanded from macro '_DEFINE_EXPR_BINARY_OPERATOR'
    operator _Op(const typename _Dom::value_type& __t,                  \
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/valarray_after.h:411:5: note: candidate template ignored: could not match '_Expr' against 'basic_ostream'
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/valarray_after.h:380:5: note: expanded from macro '_DEFINE_EXPR_BINARY_OPERATOR'
    operator _Op(const _Expr<_Dom,typename _Dom::value_type>& __e,      \
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/valarray_after.h:411:5: note: candidate template ignored: could not match '_Expr<type-parameter-0-0, typename type-parameter-0-0::value_type>' against 'char const[12]'
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/valarray_after.h:393:5: note: expanded from macro '_DEFINE_EXPR_BINARY_OPERATOR'
    operator _Op(const valarray<typename _Dom::value_type>& __v,        \
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/valarray:1181:1: note: candidate template ignored: could not match 'valarray' against 'basic_ostream'
_DEFINE_BINARY_OPERATOR(>>, __shift_right)
^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/valarray:1144:5: note: expanded from macro '_DEFINE_BINARY_OPERATOR'
    operator _Op(const valarray<_Tp>& __v, const valarray<_Tp>& __w)    \
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/valarray:1181:1: note: candidate template ignored: could not match 'valarray' against 'basic_ostream'
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/valarray:1155:5: note: expanded from macro '_DEFINE_BINARY_OPERATOR'
    operator _Op(const valarray<_Tp>& __v, const _Tp& __t)              \
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/valarray:1181:1: note: candidate template ignored: could not match 'valarray<type-parameter-0-0>' against 'char const[12]'
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/valarray:1165:5: note: expanded from macro '_DEFINE_BINARY_OPERATOR'
    operator _Op(const _Tp& __t, const valarray<_Tp>& __v)              \
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.h:3644:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:175:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:502:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:654:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:722:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:853:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:895:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:957:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:1101:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:1217:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:1428:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:1696:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:1757:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:1928:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:1991:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:2063:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:2150:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:2228:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:2302:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:2472:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:2549:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:2625:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:2764:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:2979:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:3195:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
4 errors generated.

                    
#5
Error de compilación
                      main.cpp:11:19: error: expression is not assignable
for(int i=0; i<n; ++1){
                  ^ ~
main.cpp:13:15: error: assigning to '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type' (aka 'int') from incompatible type 'std::basic_istream<char, std::char_traits<char> >::__istream_type' (aka 'basic_istream<char, std::char_traits<char> >')
array[i]= cin >> numero;
          ~~~~^~~~~~~~~
main.cpp:16:19: error: expression is not assignable
for(int i=1; i<n; ++1){
                  ^ ~
main.cpp:17:28: error: invalid operands to binary expression ('std::ostream' (aka 'basic_ostream<char>') and 'const char [12]')
if(arrayAux[i]<first){cout >> "Desordenado"; return 0;}else{
                      ~~~~ ^  ~~~~~~~~~~~~~
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/streambuf:175:9: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
        operator>>(basic_istream<_CharT2, _Traits2>&,
        ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/istream:756:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(basic_istream<char, _Traits>& __in, unsigned char& __c)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/istream:761:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(basic_istream<char, _Traits>& __in, signed char& __c)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/istream:803:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(basic_istream<char, _Traits>& __in, unsigned char* __s)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/istream:808:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(basic_istream<char, _Traits>& __in, signed char* __s)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/istream.tcc:931:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(basic_istream<_CharT, _Traits>& __in, _CharT& __c)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/istream.tcc:963:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/istream:980:5: note: candidate template ignored: requirement '__and_<__not_<is_lvalue_reference<basic_ostream<char> &> >, __is_convertible_to_basic_istream<basic_ostream<char> &>, __is_extractable<__rvalue_istream_type<basic_ostream<char> &>, char const (&)[12]> >::value' was not satisfied [with _Istream = std::basic_ostream<char> &, _Tp = char const (&)[12]]
    operator>>(_Istream&& __is, _Tp&& __x)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/complex:493:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(basic_istream<_CharT, _Traits>& __is, complex<_Tp>& __x)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bitset:1466:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is, bitset<_Nb>& __x)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/iomanip:71:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(basic_istream<_CharT, _Traits>& __is, _Resetiosflags __f)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/iomanip:101:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(basic_istream<_CharT, _Traits>& __is, _Setiosflags __f)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/iomanip:132:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(basic_istream<_CharT, _Traits>& __is, _Setbase __f)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/iomanip:170:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(basic_istream<_CharT, _Traits>& __is, _Setfill<_CharT> __f)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/iomanip:200:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(basic_istream<_CharT, _Traits>& __is, _Setprecision __f)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/iomanip:230:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(basic_istream<_CharT, _Traits>& __is, _Setw __f)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/iomanip:264:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(basic_istream<_CharT, _Traits>& __is, _Get_money<_MoneyT> __f)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/iomanip:418:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(basic_istream<_CharT, _Traits>& __is, _Get_time<_CharT> __f)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/valarray_after.h:411:5: note: candidate template ignored: could not match '_Expr' against 'basic_ostream'
    _DEFINE_EXPR_BINARY_OPERATOR(>>, __shift_right)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/valarray_after.h:341:5: note: expanded from macro '_DEFINE_EXPR_BINARY_OPERATOR'
    operator _Op(const _Expr<_Dom1, typename _Dom1::value_type>& __v,   \
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/valarray_after.h:411:5: note: candidate template ignored: could not match '_Expr' against 'basic_ostream'
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/valarray_after.h:354:5: note: expanded from macro '_DEFINE_EXPR_BINARY_OPERATOR'
    operator _Op(const _Expr<_Dom, typename _Dom::value_type>& __v,     \
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/valarray_after.h:411:5: note: candidate template ignored: could not match '_Expr<type-parameter-0-0, typename type-parameter-0-0::value_type>' against 'char const[12]'
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/valarray_after.h:367:5: note: expanded from macro '_DEFINE_EXPR_BINARY_OPERATOR'
    operator _Op(const typename _Dom::value_type& __t,                  \
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/valarray_after.h:411:5: note: candidate template ignored: could not match '_Expr' against 'basic_ostream'
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/valarray_after.h:380:5: note: expanded from macro '_DEFINE_EXPR_BINARY_OPERATOR'
    operator _Op(const _Expr<_Dom,typename _Dom::value_type>& __e,      \
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/valarray_after.h:411:5: note: candidate template ignored: could not match '_Expr<type-parameter-0-0, typename type-parameter-0-0::value_type>' against 'char const[12]'
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/valarray_after.h:393:5: note: expanded from macro '_DEFINE_EXPR_BINARY_OPERATOR'
    operator _Op(const valarray<typename _Dom::value_type>& __v,        \
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/valarray:1181:1: note: candidate template ignored: could not match 'valarray' against 'basic_ostream'
_DEFINE_BINARY_OPERATOR(>>, __shift_right)
^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/valarray:1144:5: note: expanded from macro '_DEFINE_BINARY_OPERATOR'
    operator _Op(const valarray<_Tp>& __v, const valarray<_Tp>& __w)    \
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/valarray:1181:1: note: candidate template ignored: could not match 'valarray' against 'basic_ostream'
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/valarray:1155:5: note: expanded from macro '_DEFINE_BINARY_OPERATOR'
    operator _Op(const valarray<_Tp>& __v, const _Tp& __t)              \
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/valarray:1181:1: note: candidate template ignored: could not match 'valarray<type-parameter-0-0>' against 'char const[12]'
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/valarray:1165:5: note: expanded from macro '_DEFINE_BINARY_OPERATOR'
    operator _Op(const _Tp& __t, const valarray<_Tp>& __v)              \
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.h:3644:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:175:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:502:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:654:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:722:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:853:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:895:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:957:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:1101:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:1217:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:1428:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:1696:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:1757:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:1928:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:1991:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:2063:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:2150:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:2228:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:2302:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:2472:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:2549:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:2625:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:2764:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:2979:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:3195:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
4 errors generated.

                    
#6
Error de compilación
                      main.cpp:11:19: error: expression is not assignable
for(int i=0; i<n; ++1){
                  ^ ~
main.cpp:13:15: error: assigning to '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type' (aka 'int') from incompatible type 'std::basic_istream<char, std::char_traits<char> >::__istream_type' (aka 'basic_istream<char, std::char_traits<char> >')
array[i]= cin >> numero;
          ~~~~^~~~~~~~~
main.cpp:16:19: error: expression is not assignable
for(int i=1; i<n; ++1){
                  ^ ~
main.cpp:17:28: error: invalid operands to binary expression ('std::ostream' (aka 'basic_ostream<char>') and 'const char [12]')
if(arrayAux[i]<first){cout >> "Desordenado"; return 0;}else{
                      ~~~~ ^  ~~~~~~~~~~~~~
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/streambuf:175:9: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
        operator>>(basic_istream<_CharT2, _Traits2>&,
        ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/istream:756:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(basic_istream<char, _Traits>& __in, unsigned char& __c)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/istream:761:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(basic_istream<char, _Traits>& __in, signed char& __c)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/istream:803:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(basic_istream<char, _Traits>& __in, unsigned char* __s)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/istream:808:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(basic_istream<char, _Traits>& __in, signed char* __s)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/istream.tcc:931:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(basic_istream<_CharT, _Traits>& __in, _CharT& __c)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/istream.tcc:963:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/istream:980:5: note: candidate template ignored: requirement '__and_<__not_<is_lvalue_reference<basic_ostream<char> &> >, __is_convertible_to_basic_istream<basic_ostream<char> &>, __is_extractable<__rvalue_istream_type<basic_ostream<char> &>, char const (&)[12]> >::value' was not satisfied [with _Istream = std::basic_ostream<char> &, _Tp = char const (&)[12]]
    operator>>(_Istream&& __is, _Tp&& __x)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/complex:493:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(basic_istream<_CharT, _Traits>& __is, complex<_Tp>& __x)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bitset:1466:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is, bitset<_Nb>& __x)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/iomanip:71:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(basic_istream<_CharT, _Traits>& __is, _Resetiosflags __f)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/iomanip:101:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(basic_istream<_CharT, _Traits>& __is, _Setiosflags __f)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/iomanip:132:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(basic_istream<_CharT, _Traits>& __is, _Setbase __f)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/iomanip:170:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(basic_istream<_CharT, _Traits>& __is, _Setfill<_CharT> __f)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/iomanip:200:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(basic_istream<_CharT, _Traits>& __is, _Setprecision __f)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/iomanip:230:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(basic_istream<_CharT, _Traits>& __is, _Setw __f)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/iomanip:264:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(basic_istream<_CharT, _Traits>& __is, _Get_money<_MoneyT> __f)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/iomanip:418:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(basic_istream<_CharT, _Traits>& __is, _Get_time<_CharT> __f)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/valarray_after.h:411:5: note: candidate template ignored: could not match '_Expr' against 'basic_ostream'
    _DEFINE_EXPR_BINARY_OPERATOR(>>, __shift_right)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/valarray_after.h:341:5: note: expanded from macro '_DEFINE_EXPR_BINARY_OPERATOR'
    operator _Op(const _Expr<_Dom1, typename _Dom1::value_type>& __v,   \
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/valarray_after.h:411:5: note: candidate template ignored: could not match '_Expr' against 'basic_ostream'
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/valarray_after.h:354:5: note: expanded from macro '_DEFINE_EXPR_BINARY_OPERATOR'
    operator _Op(const _Expr<_Dom, typename _Dom::value_type>& __v,     \
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/valarray_after.h:411:5: note: candidate template ignored: could not match '_Expr<type-parameter-0-0, typename type-parameter-0-0::value_type>' against 'char const[12]'
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/valarray_after.h:367:5: note: expanded from macro '_DEFINE_EXPR_BINARY_OPERATOR'
    operator _Op(const typename _Dom::value_type& __t,                  \
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/valarray_after.h:411:5: note: candidate template ignored: could not match '_Expr' against 'basic_ostream'
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/valarray_after.h:380:5: note: expanded from macro '_DEFINE_EXPR_BINARY_OPERATOR'
    operator _Op(const _Expr<_Dom,typename _Dom::value_type>& __e,      \
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/valarray_after.h:411:5: note: candidate template ignored: could not match '_Expr<type-parameter-0-0, typename type-parameter-0-0::value_type>' against 'char const[12]'
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/valarray_after.h:393:5: note: expanded from macro '_DEFINE_EXPR_BINARY_OPERATOR'
    operator _Op(const valarray<typename _Dom::value_type>& __v,        \
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/valarray:1181:1: note: candidate template ignored: could not match 'valarray' against 'basic_ostream'
_DEFINE_BINARY_OPERATOR(>>, __shift_right)
^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/valarray:1144:5: note: expanded from macro '_DEFINE_BINARY_OPERATOR'
    operator _Op(const valarray<_Tp>& __v, const valarray<_Tp>& __w)    \
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/valarray:1181:1: note: candidate template ignored: could not match 'valarray' against 'basic_ostream'
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/valarray:1155:5: note: expanded from macro '_DEFINE_BINARY_OPERATOR'
    operator _Op(const valarray<_Tp>& __v, const _Tp& __t)              \
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/valarray:1181:1: note: candidate template ignored: could not match 'valarray<type-parameter-0-0>' against 'char const[12]'
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/valarray:1165:5: note: expanded from macro '_DEFINE_BINARY_OPERATOR'
    operator _Op(const _Tp& __t, const valarray<_Tp>& __v)              \
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.h:3644:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:175:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:502:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:654:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:722:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:853:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:895:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:957:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:1101:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:1217:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:1428:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:1696:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:1757:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:1928:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:1991:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:2063:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:2150:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:2228:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:2302:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:2472:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:2549:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:2625:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:2764:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:2979:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:3195:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
4 errors generated.

                    
#7
Error de compilación
                      main.cpp:11:19: error: expression is not assignable
for(int i=0; i<n; ++1){
                  ^ ~
main.cpp:13:15: error: assigning to '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type' (aka 'int') from incompatible type 'std::basic_istream<char, std::char_traits<char> >::__istream_type' (aka 'basic_istream<char, std::char_traits<char> >')
array[i]= cin >> numero;
          ~~~~^~~~~~~~~
main.cpp:16:19: error: expression is not assignable
for(int i=1; i<n; ++1){
                  ^ ~
main.cpp:17:28: error: invalid operands to binary expression ('std::ostream' (aka 'basic_ostream<char>') and 'const char [12]')
if(arrayAux[i]<first){cout >> "Desordenado"; return 0;}else{
                      ~~~~ ^  ~~~~~~~~~~~~~
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/streambuf:175:9: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
        operator>>(basic_istream<_CharT2, _Traits2>&,
        ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/istream:756:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(basic_istream<char, _Traits>& __in, unsigned char& __c)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/istream:761:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(basic_istream<char, _Traits>& __in, signed char& __c)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/istream:803:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(basic_istream<char, _Traits>& __in, unsigned char* __s)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/istream:808:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(basic_istream<char, _Traits>& __in, signed char* __s)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/istream.tcc:931:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(basic_istream<_CharT, _Traits>& __in, _CharT& __c)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/istream.tcc:963:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/istream:980:5: note: candidate template ignored: requirement '__and_<__not_<is_lvalue_reference<basic_ostream<char> &> >, __is_convertible_to_basic_istream<basic_ostream<char> &>, __is_extractable<__rvalue_istream_type<basic_ostream<char> &>, char const (&)[12]> >::value' was not satisfied [with _Istream = std::basic_ostream<char> &, _Tp = char const (&)[12]]
    operator>>(_Istream&& __is, _Tp&& __x)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/complex:493:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(basic_istream<_CharT, _Traits>& __is, complex<_Tp>& __x)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bitset:1466:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is, bitset<_Nb>& __x)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/iomanip:71:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(basic_istream<_CharT, _Traits>& __is, _Resetiosflags __f)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/iomanip:101:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(basic_istream<_CharT, _Traits>& __is, _Setiosflags __f)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/iomanip:132:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(basic_istream<_CharT, _Traits>& __is, _Setbase __f)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/iomanip:170:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(basic_istream<_CharT, _Traits>& __is, _Setfill<_CharT> __f)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/iomanip:200:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(basic_istream<_CharT, _Traits>& __is, _Setprecision __f)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/iomanip:230:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(basic_istream<_CharT, _Traits>& __is, _Setw __f)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/iomanip:264:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(basic_istream<_CharT, _Traits>& __is, _Get_money<_MoneyT> __f)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/iomanip:418:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(basic_istream<_CharT, _Traits>& __is, _Get_time<_CharT> __f)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/valarray_after.h:411:5: note: candidate template ignored: could not match '_Expr' against 'basic_ostream'
    _DEFINE_EXPR_BINARY_OPERATOR(>>, __shift_right)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/valarray_after.h:341:5: note: expanded from macro '_DEFINE_EXPR_BINARY_OPERATOR'
    operator _Op(const _Expr<_Dom1, typename _Dom1::value_type>& __v,   \
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/valarray_after.h:411:5: note: candidate template ignored: could not match '_Expr' against 'basic_ostream'
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/valarray_after.h:354:5: note: expanded from macro '_DEFINE_EXPR_BINARY_OPERATOR'
    operator _Op(const _Expr<_Dom, typename _Dom::value_type>& __v,     \
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/valarray_after.h:411:5: note: candidate template ignored: could not match '_Expr<type-parameter-0-0, typename type-parameter-0-0::value_type>' against 'char const[12]'
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/valarray_after.h:367:5: note: expanded from macro '_DEFINE_EXPR_BINARY_OPERATOR'
    operator _Op(const typename _Dom::value_type& __t,                  \
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/valarray_after.h:411:5: note: candidate template ignored: could not match '_Expr' against 'basic_ostream'
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/valarray_after.h:380:5: note: expanded from macro '_DEFINE_EXPR_BINARY_OPERATOR'
    operator _Op(const _Expr<_Dom,typename _Dom::value_type>& __e,      \
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/valarray_after.h:411:5: note: candidate template ignored: could not match '_Expr<type-parameter-0-0, typename type-parameter-0-0::value_type>' against 'char const[12]'
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/valarray_after.h:393:5: note: expanded from macro '_DEFINE_EXPR_BINARY_OPERATOR'
    operator _Op(const valarray<typename _Dom::value_type>& __v,        \
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/valarray:1181:1: note: candidate template ignored: could not match 'valarray' against 'basic_ostream'
_DEFINE_BINARY_OPERATOR(>>, __shift_right)
^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/valarray:1144:5: note: expanded from macro '_DEFINE_BINARY_OPERATOR'
    operator _Op(const valarray<_Tp>& __v, const valarray<_Tp>& __w)    \
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/valarray:1181:1: note: candidate template ignored: could not match 'valarray' against 'basic_ostream'
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/valarray:1155:5: note: expanded from macro '_DEFINE_BINARY_OPERATOR'
    operator _Op(const valarray<_Tp>& __v, const _Tp& __t)              \
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/valarray:1181:1: note: candidate template ignored: could not match 'valarray<type-parameter-0-0>' against 'char const[12]'
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/valarray:1165:5: note: expanded from macro '_DEFINE_BINARY_OPERATOR'
    operator _Op(const _Tp& __t, const valarray<_Tp>& __v)              \
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.h:3644:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:175:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:502:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:654:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:722:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:853:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:895:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:957:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:1101:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:1217:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:1428:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:1696:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:1757:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:1928:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:1991:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:2063:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:2150:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:2228:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:2302:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:2472:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:2549:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:2625:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:2764:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:2979:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:3195:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
4 errors generated.

                    
#8
Error de compilación
                      main.cpp:11:19: error: expression is not assignable
for(int i=0; i<n; ++1){
                  ^ ~
main.cpp:13:15: error: assigning to '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type' (aka 'int') from incompatible type 'std::basic_istream<char, std::char_traits<char> >::__istream_type' (aka 'basic_istream<char, std::char_traits<char> >')
array[i]= cin >> numero;
          ~~~~^~~~~~~~~
main.cpp:16:19: error: expression is not assignable
for(int i=1; i<n; ++1){
                  ^ ~
main.cpp:17:28: error: invalid operands to binary expression ('std::ostream' (aka 'basic_ostream<char>') and 'const char [12]')
if(arrayAux[i]<first){cout >> "Desordenado"; return 0;}else{
                      ~~~~ ^  ~~~~~~~~~~~~~
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/streambuf:175:9: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
        operator>>(basic_istream<_CharT2, _Traits2>&,
        ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/istream:756:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(basic_istream<char, _Traits>& __in, unsigned char& __c)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/istream:761:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(basic_istream<char, _Traits>& __in, signed char& __c)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/istream:803:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(basic_istream<char, _Traits>& __in, unsigned char* __s)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/istream:808:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(basic_istream<char, _Traits>& __in, signed char* __s)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/istream.tcc:931:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(basic_istream<_CharT, _Traits>& __in, _CharT& __c)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/istream.tcc:963:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/istream:980:5: note: candidate template ignored: requirement '__and_<__not_<is_lvalue_reference<basic_ostream<char> &> >, __is_convertible_to_basic_istream<basic_ostream<char> &>, __is_extractable<__rvalue_istream_type<basic_ostream<char> &>, char const (&)[12]> >::value' was not satisfied [with _Istream = std::basic_ostream<char> &, _Tp = char const (&)[12]]
    operator>>(_Istream&& __is, _Tp&& __x)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/complex:493:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(basic_istream<_CharT, _Traits>& __is, complex<_Tp>& __x)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bitset:1466:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is, bitset<_Nb>& __x)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/iomanip:71:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(basic_istream<_CharT, _Traits>& __is, _Resetiosflags __f)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/iomanip:101:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(basic_istream<_CharT, _Traits>& __is, _Setiosflags __f)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/iomanip:132:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(basic_istream<_CharT, _Traits>& __is, _Setbase __f)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/iomanip:170:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(basic_istream<_CharT, _Traits>& __is, _Setfill<_CharT> __f)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/iomanip:200:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(basic_istream<_CharT, _Traits>& __is, _Setprecision __f)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/iomanip:230:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(basic_istream<_CharT, _Traits>& __is, _Setw __f)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/iomanip:264:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(basic_istream<_CharT, _Traits>& __is, _Get_money<_MoneyT> __f)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/iomanip:418:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(basic_istream<_CharT, _Traits>& __is, _Get_time<_CharT> __f)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/valarray_after.h:411:5: note: candidate template ignored: could not match '_Expr' against 'basic_ostream'
    _DEFINE_EXPR_BINARY_OPERATOR(>>, __shift_right)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/valarray_after.h:341:5: note: expanded from macro '_DEFINE_EXPR_BINARY_OPERATOR'
    operator _Op(const _Expr<_Dom1, typename _Dom1::value_type>& __v,   \
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/valarray_after.h:411:5: note: candidate template ignored: could not match '_Expr' against 'basic_ostream'
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/valarray_after.h:354:5: note: expanded from macro '_DEFINE_EXPR_BINARY_OPERATOR'
    operator _Op(const _Expr<_Dom, typename _Dom::value_type>& __v,     \
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/valarray_after.h:411:5: note: candidate template ignored: could not match '_Expr<type-parameter-0-0, typename type-parameter-0-0::value_type>' against 'char const[12]'
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/valarray_after.h:367:5: note: expanded from macro '_DEFINE_EXPR_BINARY_OPERATOR'
    operator _Op(const typename _Dom::value_type& __t,                  \
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/valarray_after.h:411:5: note: candidate template ignored: could not match '_Expr' against 'basic_ostream'
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/valarray_after.h:380:5: note: expanded from macro '_DEFINE_EXPR_BINARY_OPERATOR'
    operator _Op(const _Expr<_Dom,typename _Dom::value_type>& __e,      \
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/valarray_after.h:411:5: note: candidate template ignored: could not match '_Expr<type-parameter-0-0, typename type-parameter-0-0::value_type>' against 'char const[12]'
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/valarray_after.h:393:5: note: expanded from macro '_DEFINE_EXPR_BINARY_OPERATOR'
    operator _Op(const valarray<typename _Dom::value_type>& __v,        \
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/valarray:1181:1: note: candidate template ignored: could not match 'valarray' against 'basic_ostream'
_DEFINE_BINARY_OPERATOR(>>, __shift_right)
^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/valarray:1144:5: note: expanded from macro '_DEFINE_BINARY_OPERATOR'
    operator _Op(const valarray<_Tp>& __v, const valarray<_Tp>& __w)    \
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/valarray:1181:1: note: candidate template ignored: could not match 'valarray' against 'basic_ostream'
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/valarray:1155:5: note: expanded from macro '_DEFINE_BINARY_OPERATOR'
    operator _Op(const valarray<_Tp>& __v, const _Tp& __t)              \
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/valarray:1181:1: note: candidate template ignored: could not match 'valarray<type-parameter-0-0>' against 'char const[12]'
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/valarray:1165:5: note: expanded from macro '_DEFINE_BINARY_OPERATOR'
    operator _Op(const _Tp& __t, const valarray<_Tp>& __v)              \
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.h:3644:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:175:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:502:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:654:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:722:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:853:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:895:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:957:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:1101:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:1217:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:1428:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:1696:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:1757:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:1928:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:1991:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:2063:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:2150:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:2228:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:2302:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:2472:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:2549:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:2625:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:2764:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:2979:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:3195:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
4 errors generated.

                    
#9
Error de compilación
                      main.cpp:11:19: error: expression is not assignable
for(int i=0; i<n; ++1){
                  ^ ~
main.cpp:13:15: error: assigning to '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type' (aka 'int') from incompatible type 'std::basic_istream<char, std::char_traits<char> >::__istream_type' (aka 'basic_istream<char, std::char_traits<char> >')
array[i]= cin >> numero;
          ~~~~^~~~~~~~~
main.cpp:16:19: error: expression is not assignable
for(int i=1; i<n; ++1){
                  ^ ~
main.cpp:17:28: error: invalid operands to binary expression ('std::ostream' (aka 'basic_ostream<char>') and 'const char [12]')
if(arrayAux[i]<first){cout >> "Desordenado"; return 0;}else{
                      ~~~~ ^  ~~~~~~~~~~~~~
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/streambuf:175:9: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
        operator>>(basic_istream<_CharT2, _Traits2>&,
        ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/istream:756:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(basic_istream<char, _Traits>& __in, unsigned char& __c)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/istream:761:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(basic_istream<char, _Traits>& __in, signed char& __c)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/istream:803:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(basic_istream<char, _Traits>& __in, unsigned char* __s)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/istream:808:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(basic_istream<char, _Traits>& __in, signed char* __s)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/istream.tcc:931:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(basic_istream<_CharT, _Traits>& __in, _CharT& __c)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/istream.tcc:963:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/istream:980:5: note: candidate template ignored: requirement '__and_<__not_<is_lvalue_reference<basic_ostream<char> &> >, __is_convertible_to_basic_istream<basic_ostream<char> &>, __is_extractable<__rvalue_istream_type<basic_ostream<char> &>, char const (&)[12]> >::value' was not satisfied [with _Istream = std::basic_ostream<char> &, _Tp = char const (&)[12]]
    operator>>(_Istream&& __is, _Tp&& __x)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/complex:493:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(basic_istream<_CharT, _Traits>& __is, complex<_Tp>& __x)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bitset:1466:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is, bitset<_Nb>& __x)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/iomanip:71:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(basic_istream<_CharT, _Traits>& __is, _Resetiosflags __f)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/iomanip:101:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(basic_istream<_CharT, _Traits>& __is, _Setiosflags __f)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/iomanip:132:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(basic_istream<_CharT, _Traits>& __is, _Setbase __f)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/iomanip:170:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(basic_istream<_CharT, _Traits>& __is, _Setfill<_CharT> __f)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/iomanip:200:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(basic_istream<_CharT, _Traits>& __is, _Setprecision __f)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/iomanip:230:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(basic_istream<_CharT, _Traits>& __is, _Setw __f)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/iomanip:264:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(basic_istream<_CharT, _Traits>& __is, _Get_money<_MoneyT> __f)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/iomanip:418:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(basic_istream<_CharT, _Traits>& __is, _Get_time<_CharT> __f)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/valarray_after.h:411:5: note: candidate template ignored: could not match '_Expr' against 'basic_ostream'
    _DEFINE_EXPR_BINARY_OPERATOR(>>, __shift_right)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/valarray_after.h:341:5: note: expanded from macro '_DEFINE_EXPR_BINARY_OPERATOR'
    operator _Op(const _Expr<_Dom1, typename _Dom1::value_type>& __v,   \
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/valarray_after.h:411:5: note: candidate template ignored: could not match '_Expr' against 'basic_ostream'
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/valarray_after.h:354:5: note: expanded from macro '_DEFINE_EXPR_BINARY_OPERATOR'
    operator _Op(const _Expr<_Dom, typename _Dom::value_type>& __v,     \
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/valarray_after.h:411:5: note: candidate template ignored: could not match '_Expr<type-parameter-0-0, typename type-parameter-0-0::value_type>' against 'char const[12]'
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/valarray_after.h:367:5: note: expanded from macro '_DEFINE_EXPR_BINARY_OPERATOR'
    operator _Op(const typename _Dom::value_type& __t,                  \
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/valarray_after.h:411:5: note: candidate template ignored: could not match '_Expr' against 'basic_ostream'
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/valarray_after.h:380:5: note: expanded from macro '_DEFINE_EXPR_BINARY_OPERATOR'
    operator _Op(const _Expr<_Dom,typename _Dom::value_type>& __e,      \
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/valarray_after.h:411:5: note: candidate template ignored: could not match '_Expr<type-parameter-0-0, typename type-parameter-0-0::value_type>' against 'char const[12]'
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/valarray_after.h:393:5: note: expanded from macro '_DEFINE_EXPR_BINARY_OPERATOR'
    operator _Op(const valarray<typename _Dom::value_type>& __v,        \
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/valarray:1181:1: note: candidate template ignored: could not match 'valarray' against 'basic_ostream'
_DEFINE_BINARY_OPERATOR(>>, __shift_right)
^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/valarray:1144:5: note: expanded from macro '_DEFINE_BINARY_OPERATOR'
    operator _Op(const valarray<_Tp>& __v, const valarray<_Tp>& __w)    \
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/valarray:1181:1: note: candidate template ignored: could not match 'valarray' against 'basic_ostream'
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/valarray:1155:5: note: expanded from macro '_DEFINE_BINARY_OPERATOR'
    operator _Op(const valarray<_Tp>& __v, const _Tp& __t)              \
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/valarray:1181:1: note: candidate template ignored: could not match 'valarray<type-parameter-0-0>' against 'char const[12]'
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/valarray:1165:5: note: expanded from macro '_DEFINE_BINARY_OPERATOR'
    operator _Op(const _Tp& __t, const valarray<_Tp>& __v)              \
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.h:3644:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:175:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:502:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:654:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:722:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:853:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:895:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:957:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:1101:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:1217:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:1428:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:1696:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:1757:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:1928:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:1991:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:2063:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:2150:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:2228:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:2302:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:2472:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:2549:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:2625:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:2764:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:2979:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:3195:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
4 errors generated.

                    
#10
Error de compilación
                      main.cpp:11:19: error: expression is not assignable
for(int i=0; i<n; ++1){
                  ^ ~
main.cpp:13:15: error: assigning to '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type' (aka 'int') from incompatible type 'std::basic_istream<char, std::char_traits<char> >::__istream_type' (aka 'basic_istream<char, std::char_traits<char> >')
array[i]= cin >> numero;
          ~~~~^~~~~~~~~
main.cpp:16:19: error: expression is not assignable
for(int i=1; i<n; ++1){
                  ^ ~
main.cpp:17:28: error: invalid operands to binary expression ('std::ostream' (aka 'basic_ostream<char>') and 'const char [12]')
if(arrayAux[i]<first){cout >> "Desordenado"; return 0;}else{
                      ~~~~ ^  ~~~~~~~~~~~~~
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/streambuf:175:9: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
        operator>>(basic_istream<_CharT2, _Traits2>&,
        ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/istream:756:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(basic_istream<char, _Traits>& __in, unsigned char& __c)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/istream:761:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(basic_istream<char, _Traits>& __in, signed char& __c)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/istream:803:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(basic_istream<char, _Traits>& __in, unsigned char* __s)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/istream:808:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(basic_istream<char, _Traits>& __in, signed char* __s)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/istream.tcc:931:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(basic_istream<_CharT, _Traits>& __in, _CharT& __c)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/istream.tcc:963:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/istream:980:5: note: candidate template ignored: requirement '__and_<__not_<is_lvalue_reference<basic_ostream<char> &> >, __is_convertible_to_basic_istream<basic_ostream<char> &>, __is_extractable<__rvalue_istream_type<basic_ostream<char> &>, char const (&)[12]> >::value' was not satisfied [with _Istream = std::basic_ostream<char> &, _Tp = char const (&)[12]]
    operator>>(_Istream&& __is, _Tp&& __x)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/complex:493:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(basic_istream<_CharT, _Traits>& __is, complex<_Tp>& __x)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bitset:1466:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is, bitset<_Nb>& __x)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/iomanip:71:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(basic_istream<_CharT, _Traits>& __is, _Resetiosflags __f)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/iomanip:101:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(basic_istream<_CharT, _Traits>& __is, _Setiosflags __f)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/iomanip:132:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(basic_istream<_CharT, _Traits>& __is, _Setbase __f)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/iomanip:170:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(basic_istream<_CharT, _Traits>& __is, _Setfill<_CharT> __f)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/iomanip:200:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(basic_istream<_CharT, _Traits>& __is, _Setprecision __f)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/iomanip:230:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(basic_istream<_CharT, _Traits>& __is, _Setw __f)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/iomanip:264:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(basic_istream<_CharT, _Traits>& __is, _Get_money<_MoneyT> __f)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/iomanip:418:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(basic_istream<_CharT, _Traits>& __is, _Get_time<_CharT> __f)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/valarray_after.h:411:5: note: candidate template ignored: could not match '_Expr' against 'basic_ostream'
    _DEFINE_EXPR_BINARY_OPERATOR(>>, __shift_right)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/valarray_after.h:341:5: note: expanded from macro '_DEFINE_EXPR_BINARY_OPERATOR'
    operator _Op(const _Expr<_Dom1, typename _Dom1::value_type>& __v,   \
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/valarray_after.h:411:5: note: candidate template ignored: could not match '_Expr' against 'basic_ostream'
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/valarray_after.h:354:5: note: expanded from macro '_DEFINE_EXPR_BINARY_OPERATOR'
    operator _Op(const _Expr<_Dom, typename _Dom::value_type>& __v,     \
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/valarray_after.h:411:5: note: candidate template ignored: could not match '_Expr<type-parameter-0-0, typename type-parameter-0-0::value_type>' against 'char const[12]'
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/valarray_after.h:367:5: note: expanded from macro '_DEFINE_EXPR_BINARY_OPERATOR'
    operator _Op(const typename _Dom::value_type& __t,                  \
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/valarray_after.h:411:5: note: candidate template ignored: could not match '_Expr' against 'basic_ostream'
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/valarray_after.h:380:5: note: expanded from macro '_DEFINE_EXPR_BINARY_OPERATOR'
    operator _Op(const _Expr<_Dom,typename _Dom::value_type>& __e,      \
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/valarray_after.h:411:5: note: candidate template ignored: could not match '_Expr<type-parameter-0-0, typename type-parameter-0-0::value_type>' against 'char const[12]'
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/valarray_after.h:393:5: note: expanded from macro '_DEFINE_EXPR_BINARY_OPERATOR'
    operator _Op(const valarray<typename _Dom::value_type>& __v,        \
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/valarray:1181:1: note: candidate template ignored: could not match 'valarray' against 'basic_ostream'
_DEFINE_BINARY_OPERATOR(>>, __shift_right)
^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/valarray:1144:5: note: expanded from macro '_DEFINE_BINARY_OPERATOR'
    operator _Op(const valarray<_Tp>& __v, const valarray<_Tp>& __w)    \
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/valarray:1181:1: note: candidate template ignored: could not match 'valarray' against 'basic_ostream'
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/valarray:1155:5: note: expanded from macro '_DEFINE_BINARY_OPERATOR'
    operator _Op(const valarray<_Tp>& __v, const _Tp& __t)              \
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/valarray:1181:1: note: candidate template ignored: could not match 'valarray<type-parameter-0-0>' against 'char const[12]'
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/valarray:1165:5: note: expanded from macro '_DEFINE_BINARY_OPERATOR'
    operator _Op(const _Tp& __t, const valarray<_Tp>& __v)              \
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.h:3644:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:175:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:502:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:654:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:722:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:853:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:895:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:957:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:1101:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:1217:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:1428:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:1696:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:1757:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:1928:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:1991:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:2063:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:2150:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:2228:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:2302:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:2472:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:2549:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:2625:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:2764:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:2979:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:3195:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
4 errors generated.

                    
#11
Error de compilación
                      main.cpp:11:19: error: expression is not assignable
for(int i=0; i<n; ++1){
                  ^ ~
main.cpp:13:15: error: assigning to '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type' (aka 'int') from incompatible type 'std::basic_istream<char, std::char_traits<char> >::__istream_type' (aka 'basic_istream<char, std::char_traits<char> >')
array[i]= cin >> numero;
          ~~~~^~~~~~~~~
main.cpp:16:19: error: expression is not assignable
for(int i=1; i<n; ++1){
                  ^ ~
main.cpp:17:28: error: invalid operands to binary expression ('std::ostream' (aka 'basic_ostream<char>') and 'const char [12]')
if(arrayAux[i]<first){cout >> "Desordenado"; return 0;}else{
                      ~~~~ ^  ~~~~~~~~~~~~~
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/streambuf:175:9: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
        operator>>(basic_istream<_CharT2, _Traits2>&,
        ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/istream:756:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(basic_istream<char, _Traits>& __in, unsigned char& __c)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/istream:761:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(basic_istream<char, _Traits>& __in, signed char& __c)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/istream:803:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(basic_istream<char, _Traits>& __in, unsigned char* __s)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/istream:808:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(basic_istream<char, _Traits>& __in, signed char* __s)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/istream.tcc:931:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(basic_istream<_CharT, _Traits>& __in, _CharT& __c)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/istream.tcc:963:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/istream:980:5: note: candidate template ignored: requirement '__and_<__not_<is_lvalue_reference<basic_ostream<char> &> >, __is_convertible_to_basic_istream<basic_ostream<char> &>, __is_extractable<__rvalue_istream_type<basic_ostream<char> &>, char const (&)[12]> >::value' was not satisfied [with _Istream = std::basic_ostream<char> &, _Tp = char const (&)[12]]
    operator>>(_Istream&& __is, _Tp&& __x)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/complex:493:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(basic_istream<_CharT, _Traits>& __is, complex<_Tp>& __x)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bitset:1466:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is, bitset<_Nb>& __x)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/iomanip:71:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(basic_istream<_CharT, _Traits>& __is, _Resetiosflags __f)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/iomanip:101:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(basic_istream<_CharT, _Traits>& __is, _Setiosflags __f)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/iomanip:132:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(basic_istream<_CharT, _Traits>& __is, _Setbase __f)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/iomanip:170:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(basic_istream<_CharT, _Traits>& __is, _Setfill<_CharT> __f)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/iomanip:200:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(basic_istream<_CharT, _Traits>& __is, _Setprecision __f)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/iomanip:230:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(basic_istream<_CharT, _Traits>& __is, _Setw __f)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/iomanip:264:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(basic_istream<_CharT, _Traits>& __is, _Get_money<_MoneyT> __f)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/iomanip:418:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(basic_istream<_CharT, _Traits>& __is, _Get_time<_CharT> __f)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/valarray_after.h:411:5: note: candidate template ignored: could not match '_Expr' against 'basic_ostream'
    _DEFINE_EXPR_BINARY_OPERATOR(>>, __shift_right)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/valarray_after.h:341:5: note: expanded from macro '_DEFINE_EXPR_BINARY_OPERATOR'
    operator _Op(const _Expr<_Dom1, typename _Dom1::value_type>& __v,   \
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/valarray_after.h:411:5: note: candidate template ignored: could not match '_Expr' against 'basic_ostream'
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/valarray_after.h:354:5: note: expanded from macro '_DEFINE_EXPR_BINARY_OPERATOR'
    operator _Op(const _Expr<_Dom, typename _Dom::value_type>& __v,     \
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/valarray_after.h:411:5: note: candidate template ignored: could not match '_Expr<type-parameter-0-0, typename type-parameter-0-0::value_type>' against 'char const[12]'
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/valarray_after.h:367:5: note: expanded from macro '_DEFINE_EXPR_BINARY_OPERATOR'
    operator _Op(const typename _Dom::value_type& __t,                  \
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/valarray_after.h:411:5: note: candidate template ignored: could not match '_Expr' against 'basic_ostream'
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/valarray_after.h:380:5: note: expanded from macro '_DEFINE_EXPR_BINARY_OPERATOR'
    operator _Op(const _Expr<_Dom,typename _Dom::value_type>& __e,      \
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/valarray_after.h:411:5: note: candidate template ignored: could not match '_Expr<type-parameter-0-0, typename type-parameter-0-0::value_type>' against 'char const[12]'
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/valarray_after.h:393:5: note: expanded from macro '_DEFINE_EXPR_BINARY_OPERATOR'
    operator _Op(const valarray<typename _Dom::value_type>& __v,        \
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/valarray:1181:1: note: candidate template ignored: could not match 'valarray' against 'basic_ostream'
_DEFINE_BINARY_OPERATOR(>>, __shift_right)
^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/valarray:1144:5: note: expanded from macro '_DEFINE_BINARY_OPERATOR'
    operator _Op(const valarray<_Tp>& __v, const valarray<_Tp>& __w)    \
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/valarray:1181:1: note: candidate template ignored: could not match 'valarray' against 'basic_ostream'
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/valarray:1155:5: note: expanded from macro '_DEFINE_BINARY_OPERATOR'
    operator _Op(const valarray<_Tp>& __v, const _Tp& __t)              \
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/valarray:1181:1: note: candidate template ignored: could not match 'valarray<type-parameter-0-0>' against 'char const[12]'
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/valarray:1165:5: note: expanded from macro '_DEFINE_BINARY_OPERATOR'
    operator _Op(const _Tp& __t, const valarray<_Tp>& __v)              \
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.h:3644:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:175:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:502:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:654:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:722:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:853:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:895:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:957:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:1101:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:1217:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:1428:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:1696:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:1757:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:1928:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:1991:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:2063:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:2150:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:2228:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:2302:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:2472:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:2549:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:2625:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:2764:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:2979:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:3195:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
4 errors generated.

                    
#12
Error de compilación
                      main.cpp:11:19: error: expression is not assignable
for(int i=0; i<n; ++1){
                  ^ ~
main.cpp:13:15: error: assigning to '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type' (aka 'int') from incompatible type 'std::basic_istream<char, std::char_traits<char> >::__istream_type' (aka 'basic_istream<char, std::char_traits<char> >')
array[i]= cin >> numero;
          ~~~~^~~~~~~~~
main.cpp:16:19: error: expression is not assignable
for(int i=1; i<n; ++1){
                  ^ ~
main.cpp:17:28: error: invalid operands to binary expression ('std::ostream' (aka 'basic_ostream<char>') and 'const char [12]')
if(arrayAux[i]<first){cout >> "Desordenado"; return 0;}else{
                      ~~~~ ^  ~~~~~~~~~~~~~
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/streambuf:175:9: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
        operator>>(basic_istream<_CharT2, _Traits2>&,
        ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/istream:756:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(basic_istream<char, _Traits>& __in, unsigned char& __c)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/istream:761:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(basic_istream<char, _Traits>& __in, signed char& __c)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/istream:803:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(basic_istream<char, _Traits>& __in, unsigned char* __s)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/istream:808:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(basic_istream<char, _Traits>& __in, signed char* __s)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/istream.tcc:931:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(basic_istream<_CharT, _Traits>& __in, _CharT& __c)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/istream.tcc:963:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/istream:980:5: note: candidate template ignored: requirement '__and_<__not_<is_lvalue_reference<basic_ostream<char> &> >, __is_convertible_to_basic_istream<basic_ostream<char> &>, __is_extractable<__rvalue_istream_type<basic_ostream<char> &>, char const (&)[12]> >::value' was not satisfied [with _Istream = std::basic_ostream<char> &, _Tp = char const (&)[12]]
    operator>>(_Istream&& __is, _Tp&& __x)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/complex:493:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(basic_istream<_CharT, _Traits>& __is, complex<_Tp>& __x)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bitset:1466:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is, bitset<_Nb>& __x)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/iomanip:71:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(basic_istream<_CharT, _Traits>& __is, _Resetiosflags __f)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/iomanip:101:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(basic_istream<_CharT, _Traits>& __is, _Setiosflags __f)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/iomanip:132:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(basic_istream<_CharT, _Traits>& __is, _Setbase __f)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/iomanip:170:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(basic_istream<_CharT, _Traits>& __is, _Setfill<_CharT> __f)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/iomanip:200:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(basic_istream<_CharT, _Traits>& __is, _Setprecision __f)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/iomanip:230:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(basic_istream<_CharT, _Traits>& __is, _Setw __f)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/iomanip:264:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(basic_istream<_CharT, _Traits>& __is, _Get_money<_MoneyT> __f)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/iomanip:418:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(basic_istream<_CharT, _Traits>& __is, _Get_time<_CharT> __f)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/valarray_after.h:411:5: note: candidate template ignored: could not match '_Expr' against 'basic_ostream'
    _DEFINE_EXPR_BINARY_OPERATOR(>>, __shift_right)
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/valarray_after.h:341:5: note: expanded from macro '_DEFINE_EXPR_BINARY_OPERATOR'
    operator _Op(const _Expr<_Dom1, typename _Dom1::value_type>& __v,   \
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/valarray_after.h:411:5: note: candidate template ignored: could not match '_Expr' against 'basic_ostream'
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/valarray_after.h:354:5: note: expanded from macro '_DEFINE_EXPR_BINARY_OPERATOR'
    operator _Op(const _Expr<_Dom, typename _Dom::value_type>& __v,     \
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/valarray_after.h:411:5: note: candidate template ignored: could not match '_Expr<type-parameter-0-0, typename type-parameter-0-0::value_type>' against 'char const[12]'
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/valarray_after.h:367:5: note: expanded from macro '_DEFINE_EXPR_BINARY_OPERATOR'
    operator _Op(const typename _Dom::value_type& __t,                  \
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/valarray_after.h:411:5: note: candidate template ignored: could not match '_Expr' against 'basic_ostream'
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/valarray_after.h:380:5: note: expanded from macro '_DEFINE_EXPR_BINARY_OPERATOR'
    operator _Op(const _Expr<_Dom,typename _Dom::value_type>& __e,      \
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/valarray_after.h:411:5: note: candidate template ignored: could not match '_Expr<type-parameter-0-0, typename type-parameter-0-0::value_type>' against 'char const[12]'
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/valarray_after.h:393:5: note: expanded from macro '_DEFINE_EXPR_BINARY_OPERATOR'
    operator _Op(const valarray<typename _Dom::value_type>& __v,        \
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/valarray:1181:1: note: candidate template ignored: could not match 'valarray' against 'basic_ostream'
_DEFINE_BINARY_OPERATOR(>>, __shift_right)
^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/valarray:1144:5: note: expanded from macro '_DEFINE_BINARY_OPERATOR'
    operator _Op(const valarray<_Tp>& __v, const valarray<_Tp>& __w)    \
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/valarray:1181:1: note: candidate template ignored: could not match 'valarray' against 'basic_ostream'
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/valarray:1155:5: note: expanded from macro '_DEFINE_BINARY_OPERATOR'
    operator _Op(const valarray<_Tp>& __v, const _Tp& __t)              \
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/valarray:1181:1: note: candidate template ignored: could not match 'valarray<type-parameter-0-0>' against 'char const[12]'
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/valarray:1165:5: note: expanded from macro '_DEFINE_BINARY_OPERATOR'
    operator _Op(const _Tp& __t, const valarray<_Tp>& __v)              \
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.h:3644:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:175:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:502:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:654:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:722:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:853:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:895:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:957:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:1101:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:1217:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:1428:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:1696:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:1757:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:1928:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:1991:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:2063:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:2150:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:2228:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:2302:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:2472:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:2549:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:2625:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:2764:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:2979:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/random.tcc:3195:5: note: candidate template ignored: could not match 'basic_istream' against 'basic_ostream'
    operator>>(std::basic_istream<_CharT, _Traits>& __is,
    ^
4 errors generated.

                    
Puntos totales: 0 / 100

Código

#include <bits/stdc++.h>
using namespace std;
int main(){
 ios_base::sync_with_stdio(false);
 cin.tie(0);
int n,first;
cin >> n;
vector<int> array(n);
vector<int> arrayAux(n);

for(int i=0; i<n; ++1){
int numero;
array[i]= cin >> numero;
}
first=array[0];
for(int i=1; i<n; ++1){
if(arrayAux[i]<first){cout >> "Desordenado"; return 0;}else{
first=arrayAux[i];
}
}
cout << "Ordenado";
return 0;
}