Detalii evaluare #47262133

Rezumat problemă

#2293 mxt

Se consideră un șir de numere naturale a[1], a[2], …, a[n]. Asupra șirului efectuăm n operații. O operație constă din eliminarea unuia din numerele de la capetele șirului. Deci la primul pas se elimină fie a[1], fie a[n]. Dacă la pasul i se elimină elementul a[k], atunci costul eliminării este i * a[k]. Să se determine costul maxim posibil total al celor n operații.

Detalii

Problema mxt Operații I/O tastatură/ecran
Limita timp 0.2 secunde Limita memorie Total: 64 MB / Stivă 8 MB
Id soluție #47262133 Utilizator Arhire Andrei (AndreiArhire)
Fișier mxt.cpp Dimensiune 1.33 KB
Data încărcării 07 Decembrie 2023, 18:24 Scor / rezultat Eroare de compilare

Evaluare


Mesaj compilare

mxt.cpp:2:0: warning: ignoring #pragma gcc optimize [-Wunknown-pragmas]
 #pragma gcc optimize("Ofast")

 ^
mxt.cpp:3:0: warning: ignoring #pragma GCC optimization [-Wunknown-pragmas]
 #pragma GCC optimization("Ofast")

 ^
mxt.cpp:4:0: warning: ignoring #pragma optimize  [-Wunknown-pragmas]
 #pragma optimize(Ofast)

 ^
mxt.cpp:1:37: error: unrecognized command line option '-f unroll-loops'
 #pragma GCC optimize(" unroll-loops")

                                     ^
In file included from /usr/include/c++/4.8/utility:69:0,
                 from /usr/include/c++/4.8/algorithm:60,
                 from mxt.cpp:6:
/usr/include/c++/4.8/bits/stl_relops.h:87:48: error: unrecognized command line option '-f unroll-loops'
       operator!=(const _Tp& __x, const _Tp& __y)
                                                ^
/usr/include/c++/4.8/bits/stl_relops.h:100:47: error: unrecognized command line option '-f unroll-loops'
       operator>(const _Tp& __x, const _Tp& __y)
                                               ^
/usr/include/c++/4.8/bits/stl_relops.h:113:48: error: unrecognized command line option '-f unroll-loops'
       operator<=(const _Tp& __x, const _Tp& __y)
                                                ^
/usr/include/c++/4.8/bits/stl_relops.h:126:48: error: unrecognized command line option '-f unroll-loops'
       operator>=(const _Tp& __x, const _Tp& __y)
                                                ^
In file included from /usr/include/c++/4.8/utility:68:0,
                 from /usr/include/c++/4.8/algorithm:60,
                 from mxt.cpp:6:
/usr/include/c++/4.8/bits/move.h:47:27: error: unrecognized command line option '-f unroll-loops'
     __addressof(_Tp& __r) _GLIBCXX_NOEXCEPT
                           ^
In file included from /usr/include/c++/4.8/bits/move.h:57:0,
                 from /usr/include/c++/4.8/bits/stl_pair.h:59,
                 from /usr/include/c++/4.8/utility:70,
                 from /usr/include/c++/4.8/algorithm:60,
                 from mxt.cpp:6:
/usr/include/c++/4.8/type_traits:62:37: error: unrecognized command line option '-f unroll-loops'
       constexpr operator value_type() { return value; }
                                     ^
/usr/include/c++/4.8/type_traits:590:56: error: unrecognized command line option '-f unroll-loops'
     typename add_rvalue_reference<_Tp>::type declval() noexcept;
                                                        ^
/usr/include/c++/4.8/type_traits:590:56: error: unrecognized command line option '-f unroll-loops'
/usr/include/c++/4.8/type_traits:616:34: error: unrecognized command line option '-f unroll-loops'
       static true_type __test(int);
                                  ^
/usr/include/c++/4.8/type_traits:619:35: error: unrecognized command line option '-f unroll-loops'
       static false_type __test(...);
                                   ^
/usr/include/c++/4.8/type_traits:664:19: error: unrecognized command line option '-f unroll-loops'
         __test(int);
                   ^
/usr/include/c++/4.8/type_traits:667:35: error: unrecognized command line option '-f unroll-loops'
       static false_type __test(...);
                                   ^
/usr/include/c++/4.8/type_traits:707:34: error: unrecognized command line option '-f unroll-loops'
       static true_type __test(int);
                                  ^
/usr/include/c++/4.8/type_traits:710:35: error: unrecognized command line option '-f unroll-loops'
       static false_type __test(...);
                                   ^
/usr/include/c++/4.8/type_traits:769:34: error: unrecognized command line option '-f unroll-loops'
       static true_type __test(int);
                                  ^
/usr/include/c++/4.8/type_traits:772:35: error: unrecognized command line option '-f unroll-loops'
       static false_type __test(...);
                                   ^
/usr/include/c++/4.8/type_traits:803:34: error: unrecognized command line option '-f unroll-loops'
       static true_type __test(int);
                                  ^
/usr/include/c++/4.8/type_traits:806:35: error: unrecognized command line option '-f unroll-loops'
       static false_type __test(...);
                                   ^
/usr/include/c++/4.8/type_traits:917:34: error: unrecognized command line option '-f unroll-loops'
       static true_type __test(int);
                                  ^
/usr/include/c++/4.8/type_traits:920:35: error: unrecognized command line option '-f unroll-loops'
       static false_type __test(...);
                                   ^
/usr/include/c++/4.8/type_traits:1088:12: error: unrecognized command line option '-f unroll-loops'
  __test(int);
            ^
/usr/include/c++/4.8/type_traits:1091:32: error: unrecognized command line option '-f unroll-loops'
         static __two __test(...);
                                ^
/usr/include/c++/4.8/type_traits:1302:36: error: unrecognized command line option '-f unroll-loops'
         static void __test_aux(_To1);
                                    ^
/usr/include/c++/4.8/type_traits:1306:12: error: unrecognized command line option '-f unroll-loops'
  __test(int);
            ^
/usr/include/c++/4.8/type_traits:1309:32: error: unrecognized command line option '-f unroll-loops'
         static __two __test(...);
                                ^
/usr/include/c++/4.8/type_traits:1799:51: error: unrecognized command line option '-f unroll-loops'
         : std::declval<_Up>())>::type> _S_test(int);
                                                   ^
/usr/include/c++/4.8/type_traits:1802:40: error: unrecognized command line option '-f unroll-loops'
       static __failure_type _S_test(...);
                                        ^
/usr/include/c++/4.8/type_traits:1815:60: error: unrecognized command line option '-f unroll-loops'
       static __success_type<typename _Tp::type> _S_test(int);
                                                            ^
/usr/include/c++/4.8/type_traits:1818:40: error: unrecognized command line option '-f unroll-loops'
       static __failure_type _S_test(...);
                                        ^
/usr/include/c++/4.8/type_traits:1864:66: error: unrecognized command line option '-f unroll-loops'
       static typename add_rvalue_reference<_Tp>::type __delegate();
                                                                  ^
/usr/include/c++/4.8/type_traits:1869:15: error: unrecognized command line option '-f unroll-loops'
     declval() noexcept
               ^
/usr/include/c++/4.8/type_traits:1888:21: error: unrecognized command line option '-f unroll-loops'
       )> _S_test(int);
                     ^
/usr/include/c++/4.8/type_traits:1891:40: error: unrecognized command line option '-f unroll-loops'
       static __failure_type _S_test(...);
                                        ^
/usr/include/c++/4.8/type_traits:1907:21: error: unrecognized command line option '-f unroll-loops'
       )> _S_test(int);
                     ^
/usr/include/c++/4.8/type_traits:1910:40: error: unrecognized command line option '-f unroll-loops'
       static __failure_type _S_test(...);
                                        ^
/usr/include/c++/4.8/type_traits:1926:21: error: unrecognized command line option '-f unroll-loops'
       )> _S_test(int);
                     ^
/usr/include/c++/4.8/type_traits:1929:40: error: unrecognized command line option '-f unroll-loops'
       static __failure_type _S_test(...);
                                        ^
/usr/include/c++/4.8/type_traits:1945:21: error: unrecognized command line option '-f unroll-loops'
       )> _S_test(int);
                     ^
/usr/include/c++/4.8/type_traits:1948:40: error: unrecognized command line option '-f unroll-loops'
       static __failure_type _S_test(...);
                                        ^
/usr/include/c++/4.8/type_traits:2012:21: error: unrecognized command line option '-f unroll-loops'
       )> _S_test(int);
                     ^
/usr/include/c++/4.8/type_traits:2015:40: error: unrecognized command line option '-f unroll-loops'
       static __failure_type _S_test(...);
                                        ^
In file included from /usr/include/c++/4.8/bits/stl_pair.h:59:0,
                 from /usr/include/c++/4.8/utility:70,
                 from /usr/include/c++/4.8/algorithm:60,
                 from mxt.cpp:6:
/usr/include/c++/4.8/bits/move.h:76:61: error: unrecognized command line option '-f unroll-loops'
     forward(typename std::remove_reference<_Tp>::type& __t) noexcept
                                                             ^
/usr/include/c++/4.8/bits/move.h:87:62: error: unrecognized command line option '-f unroll-loops'
     forward(typename std::remove_reference<_Tp>::type&& __t) noexcept
                                                              ^
/usr/include/c++/4.8/bits/move.h:101:21: error: unrecognized command line option '-f unroll-loops'
     move(_Tp&& __t) noexcept
                     ^
/usr/include/c++/4.8/bits/move.h:121:32: error: unrecognized command line option '-f unroll-loops'
     move_if_noexcept(_Tp& __x) noexcept
                                ^
/usr/include/c++/4.8/bits/move.h:135:25: error: unrecognized command line option '-f unroll-loops'
     addressof(_Tp& __r) noexcept
                         ^
/usr/include/c++/4.8/bits/move.h:169:53: error: unrecognized command line option '-f unroll-loops'
              is_nothrow_move_assignable<_Tp>>::value)
                                                     ^
/usr/include/c++/4.8/bits/move.h:187:40: error: unrecognized command line option '-f unroll-loops'
     noexcept(noexcept(swap(*__a, *__b)))
                                        ^
In file included from /usr/include/c++/4.8/utility:70:0,
                 from /usr/include/c++/4.8/algorithm:60,
                 from mxt.cpp:6:
/usr/include/c++/4.8/bits/stl_pair.h:108:31: error: unrecognized command line option '-f unroll-loops'
       _GLIBCXX_CONSTEXPR pair()
                               ^
/usr/include/c++/4.8/bits/stl_pair.h:112:61: error: unrecognized command line option '-f unroll-loops'
       _GLIBCXX_CONSTEXPR pair(const _T1& __a, const _T2& __b)
                                                             ^
/usr/include/c++/4.8/bits/stl_pair.h:124:42: error: unrecognized command line option '-f unroll-loops'
  constexpr pair(const pair<_U1, _U2>& __p)
                                          ^
/usr/include/c++/4.8/bits/stl_pair.h:127:37: error: unrecognized command line option '-f unroll-loops'
       constexpr pair(const pair&) = default;
                                     ^
/usr/include/c++/4.8/bits/stl_pair.h:128:32: error: unrecognized command line option '-f unroll-loops'
       constexpr pair(pair&&) = default;
                                ^
/usr/include/c++/4.8/bits/stl_pair.h:133:42: error: unrecognized command line option '-f unroll-loops'
  constexpr pair(_U1&& __x, const _T2& __y)
                                          ^
/usr/include/c++/4.8/bits/stl_pair.h:138:42: error: unrecognized command line option '-f unroll-loops'
  constexpr pair(const _T1& __x, _U2&& __y)
                                          ^
/usr/include/c++/4.8/bits/stl_pair.h:144:37: error: unrecognized command line option '-f unroll-loops'
  constexpr pair(_U1&& __x, _U2&& __y)
                                     ^
/usr/include/c++/4.8/bits/stl_pair.h:150:37: error: unrecognized command line option '-f unroll-loops'
  constexpr pair(pair<_U1, _U2>&& __p)
                                     ^
/usr/include/c++/4.8/bits/stl_pair.h:155:71: error: unrecognized command line option '-f unroll-loops'
         pair(piecewise_construct_t, tuple<_Args1...>, tuple<_Args2...>);
                                                                       ^
/usr/include/c++/4.8/bits/stl_pair.h:158:32: error: unrecognized command line option '-f unroll-loops'
       operator=(const pair& __p)
                                ^
/usr/include/c++/4.8/bits/stl_pair.h:168:55: error: unrecognized command line option '-f unroll-loops'
                is_nothrow_move_assignable<_T2>>::value)
                                                       ^
/usr/include/c++/4.8/bits/stl_pair.h:177:37: error: unrecognized command line option '-f unroll-loops'
  operator=(const pair<_U1, _U2>& __p)
                                     ^
/usr/include/c++/4.8/bits/stl_pair.h:186:32: error: unrecognized command line option '-f unroll-loops'
  operator=(pair<_U1, _U2>&& __p)
                                ^
/usr/include/c++/4.8/bits/stl_pair.h:196:46: error: unrecognized command line option '-f unroll-loops'
         && noexcept(swap(second, __p.second)))
                                              ^
/usr/include/c++/4.8/bits/stl_pair.h:207:68: error: unrecognized command line option '-f unroll-loops'
              _Index_tuple<_Indexes1...>, _Index_tuple<_Indexes2...>);
                                                                    ^
/usr/include/c++/4.8/bits/stl_pair.h:214:68: error: unrecognized command line option '-f unroll-loops'
     operator==(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y)
                                                                    ^
/usr/include/c++/4.8/bits/stl_pair.h:220:67: error: unrecognized command line option '-f unroll-loops'
     operator<(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y)
                                                                   ^
/usr/include/c++/4.8/bits/stl_pair.h:227:68: error: unrecognized command line option '-f unroll-loops'
     operator!=(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y)
                                                                    ^
/usr/include/c++/4.8/bits/stl_pair.h:233:67: error: unrecognized command line option '-f unroll-loops'
     operator>(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y)
                                                                   ^
/usr/include/c++/4.8/bits/stl_pair.h:239:68: error: unrecognized command line option '-f unroll-loops'
     operator<=(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y)
                                                                    ^
/usr/include/c++/4.8/bits/stl_pair.h:245:68: error: unrecognized command line option '-f unroll-loops'
     operator>=(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y)
                                                                    ^
/usr/include/c++/4.8/bits/stl_pair.h:255:37: error: unrecognized command line option '-f unroll-loops'
     noexcept(noexcept(__x.swap(__y)))
                                     ^
/usr/include/c++/4.8/bits/stl_pair.h:276:35: error: unrecognized command line option '-f unroll-loops'
     make_pair(_T1&& __x, _T2&& __y)
                                   ^
In file included from /usr/include/c++/4.8/utility:74:0,
                 from /usr/include/c++/4.8/algorithm:60,
                 from mxt.cpp:6:
/usr/include/c++/4.8/initializer_list:62:67: error: unrecognized command line option '-f unroll-loops'
       constexpr initializer_list(const_iterator __a, size_type __l)
                                                                   ^
/usr/include/c++/4.8/initializer_list:66:36: error: unrecognized command line option '-f unroll-loops'
       constexpr initializer_list() noexcept
                                    ^
/usr/include/c++/4.8/initializer_list:71:20: error: unrecognized command line option '-f unroll-loops'
       size() const noexcept { return _M_len; }
                    ^
/usr/include/c++/4.8/initializer_list:75:21: error: unrecognized command line option '-f unroll-loops'
       begin() const noexcept { return _M_array; }
                     ^
/usr/include/c++/4.8/initializer_list:79:19: error: unrecognized command line option '-f unroll-loops'
       end() const noexcept { return begin() + size(); }
                   ^
/usr/include/c++/4.8/initializer_list:89:40: error: unrecognized command line option '-f unroll-loops'
     begin(initializer_list<_Tp> __ils) noexcept
                                        ^
/usr/include/c++/4.8/initializer_list:99:38: error: unrecognized command line option '-f unroll-loops'
     end(initializer_list<_Tp> __ils) noexcept
                                      ^
In file included from /usr/include/c++/4.8/algorithm:60:0,
                 from mxt.cpp:6:
/usr/include/c++/4.8/utility:107:46: error: unrecognized command line option '-f unroll-loops'
         __get(std::pair<_Tp1, _Tp2>& __pair) noexcept
                                              ^
/usr/include/c++/4.8/utility:112:52: error: unrecognized command line option '-f unroll-loops'
         __move_get(std::pair<_Tp1, _Tp2>&& __pair) noexcept
                                                    ^
/usr/include/c++/4.8/utility:117:58: error: unrecognized command line option '-f unroll-loops'
         __const_get(const std::pair<_Tp1, _Tp2>& __pair) noexcept
                                                          ^
/usr/include/c++/4.8/utility:126:46: error: unrecognized command line option '-f unroll-loops'
         __get(std::pair<_Tp1, _Tp2>& __pair) noexcept
                                              ^
/usr/include/c++/4.8/utility:131:52: error: unrecognized command line option '-f unroll-loops'
         __move_get(std::pair<_Tp1, _Tp2>&& __pair) noexcept
                                                    ^
/usr/include/c++/4.8/utility:136:58: error: unrecognized command line option '-f unroll-loops'
         __const_get(const std::pair<_Tp1, _Tp2>& __pair) noexcept
                                                          ^
/usr/include/c++/4.8/utility:142:38: error: unrecognized command line option '-f unroll-loops'
     get(std::pair<_Tp1, _Tp2>& __in) noexcept
                                      ^
/usr/include/c++/4.8/utility:147:39: error: unrecognized command line option '-f unroll-loops'
     get(std::pair<_Tp1, _Tp2>&& __in) noexcept
                                       ^
/usr/include/c++/4.8/utility:152:44: error: unrecognized command line option '-f unroll-loops'
     get(const std::pair<_Tp1, _Tp2>& __in) noexcept
                                            ^
In file included from /usr/include/c++/4.8/bits/stl_algobase.h:60:0,
                 from /usr/include/c++/4.8/algorithm:61,
                 from mxt.cpp:6:
/usr/include/c++/4.8/bits/functexcept.h:48:59: error: unrecognized command line option '-f unroll-loops'
   __throw_bad_exception(void) __attribute__((__noreturn__));
                                                           ^
/usr/include/c++/4.8/bits/functexcept.h:48:59: error: unrecognized command line option '-f unroll-loops'
/usr/include/c++/4.8/bits/functexcept.h:52:55: error: unrecognized command line option '-f unroll-loops'
   __throw_bad_alloc(void) __attribute__((__noreturn__));
                                                       ^
/usr/include/c++/4.8/bits/functexcept.h:52:55: error: unrecognized command line option '-f unroll-loops'
/usr/include/c++/4.8/bits/functexcept.h:56:54: error: unrecognized command line option '-f unroll-loops'
   __throw_bad_cast(void) __attribute__((__noreturn__));
                                                      ^
/usr/include/c++/4.8/bits/functexcept.h:56:54: error: unrecognized command line option '-f unroll-loops'
/usr/include/c++/4.8/bits/functexcept.h:59:56: error: unrecognized command line option '-f unroll-loops'
   __throw_bad_typeid(void) __attribute__((__noreturn__));
                                                        ^
/usr/include/c++/4.8/bits/functexcept.h:59:56: error: unrecognized command line option '-f unroll-loops'
/usr/include/c++/4.8/bits/functexcept.h:63:64: error: unrecognized command line option '-f unroll-loops'
   __throw_logic_error(const char*) __attribute__((__noreturn__));
                                                                ^
/usr/include/c++/4.8/bits/functexcept.h:63:64: error: unrecognized command line option '-f unroll-loops'
/usr/include/c++/4.8/bits/functexcept.h:66:65: error: unrecognized command line option '-f unroll-loops'
   __throw_domain_error(const char*) __attribute__((__noreturn__));
                                                                 ^
/usr/include/c++/4.8/bits/functexcept.h:66:65: error: unrecognized command line option '-f unroll-loops'
/usr/include/c++/4.8/bits/functexcept.h:69:69: error: unrecognized command line option '-f unroll-loops'
   __throw_invalid_argument(const char*) __attribute__((__noreturn__));
                                                                     ^
/usr/include/c++/4.8/bits/functexcept.h:69:69: error: unrecognized command line option '-f unroll-loops'
/usr/include/c++/4.8/bits/functexcept.h:72:65: error: unrecognized command line option '-f unroll-loops'
   __throw_length_error(const char*) __attribute__((__noreturn__));
                                                                 ^
/usr/include/c++/4.8/bits/functexcept.h:72:65: error: unrecognized command line option '-f unroll-loops'
/usr/include/c++/4.8/bits/functexcept.h:75:65: error: unrecognized command line option '-f unroll-loops'
   __throw_out_of_range(const char*) __attribute__((__noreturn__));
                                                                 ^
/usr/include/c++/4.8/bits/functexcept.h:75:65: error: unrecognized command line option '-f unroll-loops'
/usr/include/c++/4.8/bits/functexcept.h:78:66: error: unrecognized command line option '-f unroll-loops'
   __throw_runtime_error(const char*) __attribute__((__noreturn__));
                                                                  ^
/usr/include/c++/4.8/bits/functexcept.h:78:66: error: unrecognized command line option '-f unroll-loops'
/usr/include/c++/4.8/bits/functexcept.h:81:64: error: unrecognized command line option '-f unroll-loops'
   __throw_range_error(const char*) __attribute__((__noreturn__));
                                                                ^
/usr/include/c++/4.8/bits/functexcept.h:81:64: error: unrecognized command line option '-f unroll-loops'
/usr/include/c++/4.8/bits/functexcept.h:84:67: error: unrecognized command line option '-f unroll-loops'
   __throw_overflow_error(const char*) __attribute__((__noreturn__));
                                                                   ^
/usr/include/c++/4.8/bits/functexcept.h:84:67: error: unrecognized command line option '-f unroll-loops'
/usr/include/c++/4.8/bits/functexcept.h:87:68: error: unrecognized command line option '-f unroll-loops'
   __throw_underflow_error(const char*) __attribute__((__noreturn__));
                                                                    ^
/usr/include/c++/4.8/bits/functexcept.h:87:68: error: unrecognized command line option '-f unroll-loops'
/usr/include/c++/4.8/bits/functexcept.h:91:64: error: unrecognized command line option '-f unroll-loops'
   __throw_ios_failure(const char*) __attribute__((__noreturn__));
                                                                ^
/usr/include/c++/4.8/bits/functexcept.h:91:64: error: unrecognized command line option '-f unroll-loops'
/usr/include/c++/4.8/bits/functexcept.h:94:57: error: unrecognized command line option '-f unroll-loops'
   __throw_system_error(int) __attribute__((__noreturn__));
                                                         ^
/usr/include/c++/4.8/bits/functexcept.h:94:57: error: unrecognized command line option '-f unroll-loops'
/usr/include/c++/4.8/bits/functexcept.h:97:57: error: unrecognized command line option '-f unroll-loops'
   __throw_future_error(int) __attribute__((__noreturn__));
                                                         ^
/usr/include/c++/4.8/bits/functexcept.h:97:57: error: unrecognized command line option '-f unroll-loops'
/usr/include/c++/4.8/bits/functexcept.h:101:59: error: unrecognized command line option '-f unroll-loops'
   __throw_bad_function_call() __attribute__((__noreturn__));
                                                           ^
/usr/include/c++/4.8/bits/functexcept.h:101:59: error: unrecognized command line option '-f unroll-loops'
In file included from /usr/include/c++/4.8/bits/stl_algobase.h:62:0,
                 from /usr/include/c++/4.8/algorithm:61,
                 from mxt.cpp:6:
/usr/include/c++/4.8/ext/type_traits.h:150:35: error: unrecognized command line option '-f unroll-loops'
     __is_null_pointer(_Type* __ptr)
                                   ^
/usr/include/c++/4.8/ext/type_traits.h:155:28: error: unrecognized command line option '-f unroll-loops'
     __is_null_pointer(_Type)
                            ^
In file included from /usr/include/c++/4.8/bits/move.h:57:0,
                 from /usr/include/c++/4.8/bits/stl_pair.h:59,
                 from /usr/include/c++/4.8/utility:70,
                 from /usr/include/c++/4.8/algorithm:60,
                 from mxt.cpp:6:
/usr/include/c++/4.8/bits/stl_iterator_base_types.h:142:1: error: unrecognized command line option '-f unroll-loops'
 _GLIBCXX_HAS_NESTED_TYPE(iterator_category)
 ^
/usr/include/c++/4.8/bits/stl_iterator_base_types.h:142:1: error: unrecognized command line option '-f unroll-loops'
 _GLIBCXX_HAS_NESTED_TYPE(iterator_category)
 ^
In file included from /usr/include/c++/4.8/bits/stl_algobase.h:65:0,
                 from /usr/include/c++/4.8/algorithm:61,
                 from mxt.cpp:6:
/usr/include/c++/4.8/bits/stl_iterator_base_types.h:201:37: error: unrecognized command line option '-f unroll-loops'
     __iterator_category(const _Iter&)
                                     ^
/usr/include/c++/4.8/bits/stl_iterator_base_types.h:212:50: error: unrecognized command line option '-f unroll-loops'
       static iterator_type _S_base(_Iterator __it)
                                                  ^
/usr/include/c++/4.8/bits/stl_iterator_base_types.h:220:50: error: unrecognized command line option '-f unroll-loops'
       static iterator_type _S_base(_Iterator __it)
                                                  ^
In file included from /usr/include/c++/4.8/bits/stl_algobase.h:66:0,
                 from /usr/include/c++/4.8/algorithm:61,
                 from mxt.cpp:6:
/usr/include/c++/4.8/bits/stl_iterator_base_funcs.h:74:34: error: unrecognized command line option '-f unroll-loops'
                input_iterator_tag)
                                  ^
/usr/include/c++/4.8/bits/stl_iterator_base_funcs.h:91:42: error: unrecognized command line option '-f unroll-loops'
                random_access_iterator_tag)
                                          ^
/usr/include/c++/4.8/bits/stl_iterator_base_funcs.h:114:59: error: unrecognized command line option '-f unroll-loops'
     distance(_InputIterator __first, _InputIterator __last)
                                                           ^
/usr/include/c++/4.8/bits/stl_iterator_base_funcs.h:123:69: error: unrecognized command line option '-f unroll-loops'
     __advance(_InputIterator& __i, _Distance __n, input_iterator_tag)
                                                                     ^
/usr/include/c++/4.8/bits/stl_iterator_base_funcs.h:135:34: error: unrecognized command line option '-f unroll-loops'
        bidirectional_iterator_tag)
                                  ^
/usr/include/c++/4.8/bits/stl_iterator_base_funcs.h:151:41: error: unrecognized command line option '-f unroll-loops'
               random_access_iterator_tag)
                                         ^
/usr/include/c++/4.8/bits/stl_iterator_base_funcs.h:173:47: error: unrecognized command line option '-f unroll-loops'
     advance(_InputIterator& __i, _Distance __n)
                                               ^
/usr/include/c++/4.8/bits/stl_iterator_base_funcs.h:185:61: error: unrecognized command line option '-f unroll-loops'
   iterator_traits<_ForwardIterator>::difference_type __n = 1)
                                                             ^
/usr/include/c++/4.8/bits/stl_iterator_base_funcs.h:194:67: error: unrecognized command line option '-f unroll-loops'
   iterator_traits<_BidirectionalIterator>::difference_type __n = 1) 
                                                                   ^
In file included from /usr/include/c++/4.8/bits/stl_algobase.h:67:0,
                 from /usr/include/c++/4.8/algorithm:61,
                 from mxt.cpp:6:
/usr/include/c++/4.8/bits/stl_iterator.h:120:24: error: unrecognized command line option '-f unroll-loops'
       reverse_iterator() : current() { }
                        ^
/usr/include/c++/4.8/bits/stl_iterator.h:126:41: error: unrecognized command line option '-f unroll-loops'
       reverse_iterator(iterator_type __x) : current(__x) { }
                                         ^
/usr/include/c++/4.8/bits/stl_iterator.h:131:51: error: unrecognized command line option '-f unroll-loops'
       reverse_iterator(const reverse_iterator& __x)
                                                   ^
/usr/include/c++/4.8/bits/stl_iterator.h:139:60: error: unrecognized command line option '-f unroll-loops'
         reverse_iterator(const reverse_iterator<_Iter>& __x)
                                                            ^
/usr/include/c++/4.8/bits/stl_iterator.h:146:14: error: unrecognized command line option '-f unroll-loops'
       base() const
              ^
/usr/include/c++/4.8/bits/stl_iterator.h:160:19: error: unrecognized command line option '-f unroll-loops'
       operator*() const
                   ^
/usr/include/c++/4.8/bits/stl_iterator.h:172:20: error: unrecognized command line option '-f unroll-loops'
       operator->() const
                    ^
/usr/include/c++/4.8/bits/stl_iterator.h:181:18: error: unrecognized command line option '-f unroll-loops'
       operator++()
                  ^
/usr/include/c++/4.8/bits/stl_iterator.h:193:21: error: unrecognized command line option '-f unroll-loops'
       operator++(int)
                     ^
/usr/include/c++/4.8/bits/stl_iterator.h:206:18: error: unrecognized command line option '-f unroll-loops'
       operator--()
                  ^
/usr/include/c++/4.8/bits/stl_iterator.h:218:21: error: unrecognized command line option '-f unroll-loops'
       operator--(int)
                     ^
/usr/include/c++/4.8/bits/stl_iterator.h:231:38: error: unrecognized command line option '-f unroll-loops'
       operator+(difference_type __n) const
                                      ^
/usr/include/c++/4.8/bits/stl_iterator.h:241:37: error: unrecognized command line option '-f unroll-loops'
       operator+=(difference_type __n)
                                     ^
/usr/include/c++/4.8/bits/stl_iterator.h:253:38: error: unrecognized command line option '-f unroll-loops'
       operator-(difference_type __n) const
                                      ^
/usr/include/c++/4.8/bits/stl_iterator.h:263:37: error: unrecognized command line option '-f unroll-loops'
       operator-=(difference_type __n)
                                     ^
/usr/include/c++/4.8/bits/stl_iterator.h:275:39: error: unrecognized command line option '-f unroll-loops'
       operator[](difference_type __n) const
                                       ^
/usr/include/c++/4.8/bits/stl_iterator.h:292:47: error: unrecognized command line option '-f unroll-loops'
         const reverse_iterator<_Iterator>& __y)
                                               ^
/usr/include/c++/4.8/bits/stl_iterator.h:298:46: error: unrecognized command line option '-f unroll-loops'
        const reverse_iterator<_Iterator>& __y)
                                              ^
/usr/include/c++/4.8/bits/stl_iterator.h:304:47: error: unrecognized command line option '-f unroll-loops'
         const reverse_iterator<_Iterator>& __y)
                                               ^
/usr/include/c++/4.8/bits/stl_iterator.h:310:46: error: unrecognized command line option '-f unroll-loops'
        const reverse_iterator<_Iterator>& __y)
                                              ^
/usr/include/c++/4.8/bits/stl_iterator.h:316:47: error: unrecognized command line option '-f unroll-loops'
         const reverse_iterator<_Iterator>& __y)
                                               ^
/usr/include/c++/4.8/bits/stl_iterator.h:322:47: error: unrecognized command line option '-f unroll-loops'
         const reverse_iterator<_Iterator>& __y)
                                               ^
/usr/include/c++/4.8/bits/stl_iterator.h:328:46: error: unrecognized command line option '-f unroll-loops'
        const reverse_iterator<_Iterator>& __y)
                                              ^
/usr/include/c++/4.8/bits/stl_iterator.h:334:46: error: unrecognized command line option '-f unroll-loops'
        const reverse_iterator<_Iterator>& __x)
                                              ^
/usr/include/c++/4.8/bits/stl_iterator.h:342:48: error: unrecognized command line option '-f unroll-loops'
         const reverse_iterator<_IteratorR>& __y)
                                                ^
/usr/include/c++/4.8/bits/stl_iterator.h:348:47: error: unrecognized command line option '-f unroll-loops'
        const reverse_iterator<_IteratorR>& __y)
                                               ^
/usr/include/c++/4.8/bits/stl_iterator.h:354:48: error: unrecognized command line option '-f unroll-loops'
         const reverse_iterator<_IteratorR>& __y)
                                                ^
/usr/include/c++/4.8/bits/stl_iterator.h:360:47: error: unrecognized command line option '-f unroll-loops'
        const reverse_iterator<_IteratorR>& __y)
                                               ^
/usr/include/c++/4.8/bits/stl_iterator.h:366:48: error: unrecognized command line option '-f unroll-loops'
         const reverse_iterator<_IteratorR>& __y)
                                                ^
/usr/include/c++/4.8/bits/stl_iterator.h:372:48: error: unrecognized command line option '-f unroll-loops'
         const reverse_iterator<_IteratorR>& __y)
                                                ^
/usr/include/c++/4.8/bits/stl_iterator.h:381:8: error: unrecognized command line option '-f unroll-loops'
     -> decltype(__y.base() - __x.base())
        ^
/usr/include/c++/4.8/bits/stl_iterator.h:414:43: error: unrecognized command line option '-f unroll-loops'
       back_insert_iterator(_Container& __x) : container(&__x) { }
                                           ^
/usr/include/c++/4.8/bits/stl_iterator.h:436:63: error: unrecognized command line option '-f unroll-loops'
       operator=(const typename _Container::value_type& __value)
                                                               ^
/usr/include/c++/4.8/bits/stl_iterator.h:443:58: error: unrecognized command line option '-f unroll-loops'
       operator=(typename _Container::value_type&& __value)
                                                          ^
/usr/include/c++/4.8/bits/stl_iterator.h:452:17: error: unrecognized command line option '-f unroll-loops'
       operator*()
                 ^
/usr/include/c++/4.8/bits/stl_iterator.h:457:18: error: unrecognized command line option '-f unroll-loops'
       operator++()
                  ^
/usr/include/c++/4.8/bits/stl_iterator.h:462:21: error: unrecognized command line option '-f unroll-loops'
       operator++(int)
                     ^
/usr/include/c++/4.8/bits/stl_iterator.h:479:34: error: unrecognized command line option '-f unroll-loops'
     back_inserter(_Container& __x)
                                  ^
/usr/include/c++/4.8/bits/stl_iterator.h:504:53: error: unrecognized command line option '-f unroll-loops'
       explicit front_insert_iterator(_Container& __x) : container(&__x) { }
                                                     ^
/usr/include/c++/4.8/bits/stl_iterator.h:526:63: error: unrecognized command line option '-f unroll-loops'
       operator=(const typename _Container::value_type& __value)
                                                               ^
/usr/include/c++/4.8/bits/stl_iterator.h:533:58: error: unrecognized command line option '-f unroll-loops'
       operator=(typename _Container::value_type&& __value)
                                                          ^
/usr/include/c++/4.8/bits/stl_iterator.h:542:17: error: unrecognized command line option '-f unroll-loops'
       operator*()
                 ^
/usr/include/c++/4.8/bits/stl_iterator.h:547:18: error: unrecognized command line option '-f unroll-loops'
       operator++()
                  ^
/usr/include/c++/4.8/bits/stl_iterator.h:552:21: error: unrecognized command line option '-f unroll-loops'
       operator++(int)
                     ^
/usr/include/c++/4.8/bits/stl_iterator.h:569:35: error: unrecognized command line option '-f unroll-loops'
     front_inserter(_Container& __x)
                                   ^
/usr/include/c++/4.8/bits/stl_iterator.h:602:73: error: unrecognized command line option '-f unroll-loops'
       insert_iterator(_Container& __x, typename _Container::iterator __i)
                                                                         ^
/usr/include/c++/4.8/bits/stl_iterator.h:638:63: error: unrecognized command line option '-f unroll-loops'
       operator=(const typename _Container::value_type& __value)
                                                               ^
/usr/include/c++/4.8/bits/stl_iterator.h:646:58: error: unrecognized command line option '-f unroll-loops'
       operator=(typename _Container::value_type&& __value)
                                                          ^
/usr/include/c++/4.8/bits/stl_iterator.h:656:17: error: unrecognized command line option '-f unroll-loops'
       operator*()
                 ^
/usr/include/c++/4.8/bits/stl_iterator.h:661:18: error: unrecognized command line option '-f unroll-loops'
       operator++()
                  ^
/usr/include/c++/4.8/bits/stl_iterator.h:666:21: error: unrecognized command line option '-f unroll-loops'
       operator++(int)
                     ^
/usr/include/c++/4.8/bits/stl_iterator.h:683:44: error: unrecognized command line option '-f unroll-loops'
     inserter(_Container& __x, _Iterator __i)
                                            ^
/usr/include/c++/4.8/bits/stl_iterator.h:723:44: error: unrecognized command line option '-f unroll-loops'
       _GLIBCXX_CONSTEXPR __normal_iterator() : _M_current(_Iterator()) { }
                                            ^
/usr/include/c++/4.8/bits/stl_iterator.h:726:45: error: unrecognized command line option '-f unroll-loops'
       __normal_iterator(const _Iterator& __i) : _M_current(__i) { }
                                             ^
/usr/include/c++/4.8/bits/stl_iterator.h:733:34: error: unrecognized command line option '-f unroll-loops'
         _Container>::__type>& __i)
                                  ^
/usr/include/c++/4.8/bits/stl_iterator.h:738:19: error: unrecognized command line option '-f unroll-loops'
       operator*() const
                   ^
/usr/include/c++/4.8/bits/stl_iterator.h:742:20: error: unrecognized command line option '-f unroll-loops'
       operator->() const
                    ^
/usr/include/c++/4.8/bits/stl_iterator.h:746:18: error: unrecognized command line option '-f unroll-loops'
       operator++()
                  ^
/usr/include/c++/4.8/bits/stl_iterator.h:753:21: error: unrecognized command line option '-f unroll-loops'
       operator++(int)
                     ^
/usr/include/c++/4.8/bits/stl_iterator.h:758:18: error: unrecognized command line option '-f unroll-loops'
       operator--()
                  ^
/usr/include/c++/4.8/bits/stl_iterator.h:765:21: error: unrecognized command line option '-f unroll-loops'
       operator--(int)
                     ^
/usr/include/c++/4.8/bits/stl_iterator.h:770:46: error: unrecognized command line option '-f unroll-loops'
       operator[](const difference_type& __n) const
                                              ^
/usr/include/c++/4.8/bits/stl_iterator.h:774:44: error: unrecognized command line option '-f unroll-loops'
       operator+=(const difference_type& __n)
                                            ^
/usr/include/c++/4.8/bits/stl_iterator.h:778:45: error: unrecognized command line option '-f unroll-loops'
       operator+(const difference_type& __n) const
                                             ^
/usr/include/c++/4.8/bits/stl_iterator.h:782:44: error: unrecognized command line option '-f unroll-loops'
       operator-=(const difference_type& __n)
                                            ^
/usr/include/c++/4.8/bits/stl_iterator.h:786:45: error: unrecognized command line option '-f unroll-loops'
       operator-(const difference_type& __n) const
                                             ^
/usr/include/c++/4.8/bits/stl_iterator.h:790:14: error: unrecognized command line option '-f unroll-loops'
       base() const
              ^
/usr/include/c++/4.8/bits/stl_iterator.h:806:63: error: unrecognized command line option '-f unroll-loops'
         const __normal_iterator<_IteratorR, _Container>& __rhs)
                                                               ^
/usr/include/c++/4.8/bits/stl_iterator.h:812:62: error: unrecognized command line option '-f unroll-loops'
         const __normal_iterator<_Iterator, _Container>& __rhs)
                                                              ^
/usr/include/c++/4.8/bits/stl_iterator.h:818:63: error: unrecognized command line option '-f unroll-loops'
         const __normal_iterator<_IteratorR, _Container>& __rhs)
                                                               ^
/usr/include/c++/4.8/bits/stl_iterator.h:824:62: error: unrecognized command line option '-f unroll-loops'
         const __normal_iterator<_Iterator, _Container>& __rhs)
                                                              ^
/usr/include/c++/4.8/bits/stl_iterator.h:831:62: error: unrecognized command line option '-f unroll-loops'
        const __normal_iterator<_IteratorR, _Container>& __rhs)
                                                              ^
/usr/include/c++/4.8/bits/stl_iterator.h:837:61: error: unrecognized command line option '-f unroll-loops'
        const __normal_iterator<_Iterator, _Container>& __rhs)
                                                             ^
/usr/include/c++/4.8/bits/stl_iterator.h:843:62: error: unrecognized command line option '-f unroll-loops'
        const __normal_iterator<_IteratorR, _Container>& __rhs)
                                                              ^
/usr/include/c++/4.8/bits/stl_iterator.h:849:61: error: unrecognized command line option '-f unroll-loops'
        const __normal_iterator<_Iterator, _Container>& __rhs)
                                                             ^
/usr/include/c++/4.8/bits/stl_iterator.h:855:63: error: unrecognized command line option '-f unroll-loops'
         const __normal_iterator<_IteratorR, _Container>& __rhs)
                                                               ^
/usr/include/c++/4.8/bits/stl_iterator.h:861:62: error: unrecognized command line option '-f unroll-loops'
         const __normal_iterator<_Iterator, _Container>& __rhs)
                                                              ^
/usr/include/c++/4.8/bits/stl_iterator.h:867:63: error: unrecognized command line option '-f unroll-loops'
         const __normal_iterator<_IteratorR, _Container>& __rhs)
                                                               ^
/usr/include/c++/4.8/bits/stl_iterator.h:873:62: error: unrecognized command line option '-f unroll-loops'
         const __normal_iterator<_Iterator, _Container>& __rhs)
                                                              ^
/usr/include/c++/4.8/bits/stl_iterator.h:886:8: error: unrecognized command line option '-f unroll-loops'
     -> decltype(__lhs.base() - __rhs.base())
        ^
/usr/include/c++/4.8/bits/stl_iterator.h:897:61: error: unrecognized command line option '-f unroll-loops'
        const __normal_iterator<_Iterator, _Container>& __rhs)
                                                             ^
/usr/include/c++/4.8/bits/stl_iterator.h:903:64: error: unrecognized command line option '-f unroll-loops'
        __n, const __normal_iterator<_Iterator, _Container>& __i)
                                                                ^
/usr/include/c++/4.8/bits/stl_iterator.h:946:21: error: unrecognized command line option '-f unroll-loops'
       move_iterator()
                     ^
/usr/include/c++/4.8/bits/stl_iterator.h:950:38: error: unrecognized command line option '-f unroll-loops'
       move_iterator(iterator_type __i)
                                      ^
/usr/include/c++/4.8/bits/stl_iterator.h:954:47: error: unrecognized command line option '-f unroll-loops'
  move_iterator(const move_iterator<_Iter>& __i)
                                               ^
/usr/include/c++/4.8/bits/stl_iterator.h:958:14: error: unrecognized command line option '-f unroll-loops'
       base() const
              ^
/usr/include/c++/4.8/bits/stl_iterator.h:962:19: error: unrecognized command line option '-f unroll-loops'
       operator*() const
                   ^
/usr/include/c++/4.8/bits/stl_iterator.h:966:20: error: unrecognized command line option '-f unroll-loops'
       operator->() const
                    ^
/usr/include/c++/4.8/bits/stl_iterator.h:970:18: error: unrecognized command line option '-f unroll-loops'
       operator++()
                  ^
/usr/include/c++/4.8/bits/stl_iterator.h:977:21: error: unrecognized command line option '-f unroll-loops'
       operator++(int)
                     ^
/usr/include/c++/4.8/bits/stl_iterator.h:985:18: error: unrecognized command line option '-f unroll-loops'
       operator--()
                  ^
/usr/include/c++/4.8/bits/stl_iterator.h:992:21: error: unrecognized command line option '-f unroll-loops'
       operator--(int)
                     ^
/usr/include/c++/4.8/bits/stl_iterator.h:1000:38: error: unrecognized command line option '-f unroll-loops'
       operator+(difference_type __n) const
                                      ^
/usr/include/c++/4.8/bits/stl_iterator.h:1004:37: error: unrecognized command line option '-f unroll-loops'
       operator+=(difference_type __n)
                                     ^
/usr/include/c++/4.8/bits/stl_iterator.h:1011:38: error: unrecognized command line option '-f unroll-loops'
       operator-(difference_type __n) const
                                      ^
/usr/include/c++/4.8/bits/stl_iterator.h:1015:37: error: unrecognized command line option '-f unroll-loops'
       operator-=(difference_type __n)
                                     ^
/usr/include/c++/4.8/bits/stl_iterator.h:1022:39: error: unrecognized command line option '-f unroll-loops'
       operator[](difference_type __n) const
                                       ^
/usr/include/c++/4.8/bits/stl_iterator.h:1032:45: error: unrecognized command line option '-f unroll-loops'
         const move_iterator<_IteratorR>& __y)
                                             ^
/usr/include/c++/4.8/bits/stl_iterator.h:1038:44: error: unrecognized command line option '-f unroll-loops'
         const move_iterator<_Iterator>& __y)
                                            ^
/usr/include/c++/4.8/bits/stl_iterator.h:1044:45: error: unrecognized command line option '-f unroll-loops'
         const move_iterator<_IteratorR>& __y)
                                             ^
/usr/include/c++/4.8/bits/stl_iterator.h:1050:44: error: unrecognized command line option '-f unroll-loops'
         const move_iterator<_Iterator>& __y)
                                            ^
/usr/include/c++/4.8/bits/stl_iterator.h:1056:44: error: unrecognized command line option '-f unroll-loops'
        const move_iterator<_IteratorR>& __y)
                                            ^
/usr/include/c++/4.8/bits/stl_iterator.h:1062:43: error: unrecognized command line option '-f unroll-loops'
        const move_iterator<_Iterator>& __y)
                                           ^
/usr/include/c++/4.8/bits/stl_iterator.h:1068:45: error: unrecognized command line option '-f unroll-loops'
         const move_iterator<_IteratorR>& __y)
                                             ^
/usr/include/c++/4.8/bits/stl_iterator.h:1074:44: error: unrecognized command line option '-f unroll-loops'
         const move_iterator<_Iterator>& __y)
                                            ^
/usr/include/c++/4.8/bits/stl_iterator.h:1080:44: error: unrecognized command line option '-f unroll-loops'
        const move_iterator<_IteratorR>& __y)
                                            ^
/usr/include/c++/4.8/bits/stl_iterator.h:1086:43: error: unrecognized command line option '-f unroll-loops'
        const move_iterator<_Iterator>& __y)
                                           ^
/usr/include/c++/4.8/bits/stl_iterator.h:1092:45: error: unrecognized command line option '-f unroll-loops'
         const move_iterator<_IteratorR>& __y)
                                             ^
/usr/include/c++/4.8/bits/stl_iterator.h:1098:44: error: unrecognized command line option '-f unroll-loops'
         const move_iterator<_Iterator>& __y)
                                            ^
/usr/include/c++/4.8/bits/stl_iterator.h:1106:8: error: unrecognized command line option '-f unroll-loops'
     -> decltype(__x.base() - __y.base())
        ^
/usr/include/c++/4.8/bits/stl_iterator.h:1113:8: error: unrecognized command line option '-f unroll-loops'
     -> decltype(__x.base() - __y.base())
        ^
/usr/include/c++/4.8/bits/stl_iterator.h:1119:43: error: unrecognized command line option '-f unroll-loops'
        const move_iterator<_Iterator>& __x)
                                           ^
/usr/include/c++/4.8/bits/stl_iterator.h:1124:37: error: unrecognized command line option '-f unroll-loops'
     make_move_iterator(_Iterator __i)
                                     ^
/usr/include/c++/4.8/bits/stl_iterator.h:1132:51: error: unrecognized command line option '-f unroll-loops'
     __make_move_if_noexcept_iterator(_Iterator __i)
                                                   ^
In file included from /usr/include/c++/4.8/algorithm:61:0,
                 from mxt.cpp:6:
/usr/include/c++/4.8/bits/stl_algobase.h:119:59: error: unrecognized command line option '-f unroll-loops'
     iter_swap(_ForwardIterator1 __a, _ForwardIterator2 __b)
                                                           ^
/usr/include/c++/4.8/bits/stl_algobase.h:166:29: error: unrecognized command line option '-f unroll-loops'
   _ForwardIterator2 __first2)
                             ^
/usr/include/c++/4.8/bits/stl_algobase.h:193:39: error: unrecognized command line option '-f unroll-loops'
     min(const _Tp& __a, const _Tp& __b)
                                       ^
/usr/include/c++/4.8/bits/stl_algobase.h:216:39: error: unrecognized command line option '-f unroll-loops'
     max(const _Tp& __a, const _Tp& __b)
                                       ^
/usr/include/c++/4.8/bits/stl_algobase.h:239:56: error: unrecognized command line option '-f unroll-loops'
     min(const _Tp& __a, const _Tp& __b, _Compare __comp)
                                                        ^
/usr/include/c++/4.8/bits/stl_algobase.h:260:56: error: unrecognized command line option '-f unroll-loops'
     max(const _Tp& __a, const _Tp& __b, _Compare __comp)
                                                        ^
/usr/include/c++/4.8/bits/stl_algobase.h:277:32: error: unrecognized command line option '-f unroll-loops'
     __niter_base(_Iterator __it)
                                ^
/usr/include/c++/4.8/bits/stl_algobase.h:288:32: error: unrecognized command line option '-f unroll-loops'
     __miter_base(_Iterator __it)
                                ^
/usr/include/c++/4.8/bits/stl_algobase.h:302:55: error: unrecognized command line option '-f unroll-loops'
         __copy_m(_II __first, _II __last, _OI __result)
                                                       ^
/usr/include/c++/4.8/bits/stl_algobase.h:316:55: error: unrecognized command line option '-f unroll-loops'
         __copy_m(_II __first, _II __last, _OI __result)
                                                       ^
/usr/include/c++/4.8/bits/stl_algobase.h:330:55: error: unrecognized command line option '-f unroll-loops'
         __copy_m(_II __first, _II __last, _OI __result)
                                                       ^
/usr/include/c++/4.8/bits/stl_algobase.h:349:55: error: unrecognized command line option '-f unroll-loops'
         __copy_m(_II __first, _II __last, _OI __result)
                                                       ^
/usr/include/c++/4.8/bits/stl_algobase.h:368:70: error: unrecognized command line option '-f unroll-loops'
         __copy_m(const _Tp* __first, const _Tp* __last, _Tp* __result)
                                                                      ^
/usr/include/c++/4.8/bits/stl_algobase.h:379:56: error: unrecognized command line option '-f unroll-loops'
     __copy_move_a(_II __first, _II __last, _OI __result)
                                                        ^
/usr/include/c++/4.8/bits/stl_algobase.h:408:55: error: unrecognized command line option '-f unroll-loops'
      ostreambuf_iterator<_CharT, char_traits<_CharT> >);
                                                       ^
/usr/include/c++/4.8/bits/stl_algobase.h:408:55: error: unrecognized command line option '-f unroll-loops'
/usr/include/c++/4.8/bits/stl_algobase.h:414:55: error: unrecognized command line option '-f unroll-loops'
      ostreambuf_iterator<_CharT, char_traits<_CharT> >);
                                                       ^
/usr/include/c++/4.8/bits/stl_algobase.h:414:55: error: unrecognized command line option '-f unroll-loops'
/usr/include/c++/4.8/bits/stl_algobase.h:420:64: error: unrecognized command line option '-f unroll-loops'
      istreambuf_iterator<_CharT, char_traits<_CharT> >, _CharT*);
                                                                ^
/usr/include/c++/4.8/bits/stl_algobase.h:420:64: error: unrecognized command line option '-f unroll-loops'
/usr/include/c++/4.8/bits/stl_algobase.h:424:57: error: unrecognized command line option '-f unroll-loops'
     __copy_move_a2(_II __first, _II __last, _OI __result)
                                                         ^
/usr/include/c++/4.8/bits/stl_algobase.h:450:47: error: unrecognized command line option '-f unroll-loops'
     copy(_II __first, _II __last, _OI __result)
                                               ^
/usr/include/c++/4.8/bits/stl_algobase.h:483:47: error: unrecognized command line option '-f unroll-loops'
     move(_II __first, _II __last, _OI __result)
                                               ^
/usr/include/c++/4.8/bits/stl_algobase.h:505:63: error: unrecognized command line option '-f unroll-loops'
         __copy_move_b(_BI1 __first, _BI1 __last, _BI2 __result)
                                                               ^
/usr/include/c++/4.8/bits/stl_algobase.h:519:63: error: unrecognized command line option '-f unroll-loops'
         __copy_move_b(_BI1 __first, _BI1 __last, _BI2 __result)
                                                               ^
/usr/include/c++/4.8/bits/stl_algobase.h:533:63: error: unrecognized command line option '-f unroll-loops'
         __copy_move_b(_BI1 __first, _BI1 __last, _BI2 __result)
                                                               ^
/usr/include/c++/4.8/bits/stl_algobase.h:548:63: error: unrecognized command line option '-f unroll-loops'
         __copy_move_b(_BI1 __first, _BI1 __last, _BI2 __result)
                                                               ^
/usr/include/c++/4.8/bits/stl_algobase.h:563:75: error: unrecognized command line option '-f unroll-loops'
         __copy_move_b(const _Tp* __first, const _Tp* __last, _Tp* __result)
                                                                           ^
/usr/include/c++/4.8/bits/stl_algobase.h:574:68: error: unrecognized command line option '-f unroll-loops'
     __copy_move_backward_a(_BI1 __first, _BI1 __last, _BI2 __result)
                                                                    ^
/usr/include/c++/4.8/bits/stl_algobase.h:592:69: error: unrecognized command line option '-f unroll-loops'
     __copy_move_backward_a2(_BI1 __first, _BI1 __last, _BI2 __result)
                                                                     ^
/usr/include/c++/4.8/bits/stl_algobase.h:619:59: error: unrecognized command line option '-f unroll-loops'
     copy_backward(_BI1 __first, _BI1 __last, _BI2 __result)
                                                           ^
/usr/include/c++/4.8/bits/stl_algobase.h:655:59: error: unrecognized command line option '-f unroll-loops'
     move_backward(_BI1 __first, _BI1 __last, _BI2 __result)
                                                           ^
/usr/include/c++/4.8/bits/stl_algobase.h:679:26: error: unrecognized command line option '-f unroll-loops'
        const _Tp& __value)
                          ^
/usr/include/c++/4.8/bits/stl_algobase.h:689:25: error: unrecognized command line option '-f unroll-loops'
       const _Tp& __value)
                         ^
/usr/include/c++/4.8/bits/stl_algobase.h:700:55: error: unrecognized command line option '-f unroll-loops'
     __fill_a(_Tp* __first, _Tp* __last, const _Tp& __c)
                                                       ^
/usr/include/c++/4.8/bits/stl_algobase.h:721:79: error: unrecognized command line option '-f unroll-loops'
     fill(_ForwardIterator __first, _ForwardIterator __last, const _Tp& __value)
                                                                               ^
/usr/include/c++/4.8/bits/stl_algobase.h:735:70: error: unrecognized command line option '-f unroll-loops'
     __fill_n_a(_OutputIterator __first, _Size __n, const _Tp& __value)
                                                                      ^
/usr/include/c++/4.8/bits/stl_algobase.h:746:70: error: unrecognized command line option '-f unroll-loops'
     __fill_n_a(_OutputIterator __first, _Size __n, const _Tp& __value)
                                                                      ^
/usr/include/c++/4.8/bits/stl_algobase.h:758:55: error: unrecognized command line option '-f unroll-loops'
     __fill_n_a(_Tp* __first, _Size __n, const _Tp& __c)
                                                       ^
/usr/include/c++/4.8/bits/stl_algobase.h:781:54: error: unrecognized command line option '-f unroll-loops'
     fill_n(_OI __first, _Size __n, const _Tp& __value)
                                                      ^
/usr/include/c++/4.8/bits/stl_algobase.h:794:57: error: unrecognized command line option '-f unroll-loops'
         equal(_II1 __first1, _II1 __last1, _II2 __first2)
                                                         ^
/usr/include/c++/4.8/bits/stl_algobase.h:808:75: error: unrecognized command line option '-f unroll-loops'
         equal(const _Tp* __first1, const _Tp* __last1, const _Tp* __first2)
                                                                           ^
/usr/include/c++/4.8/bits/stl_algobase.h:817:59: error: unrecognized command line option '-f unroll-loops'
     __equal_aux(_II1 __first1, _II1 __last1, _II2 __first2)
                                                           ^
/usr/include/c++/4.8/bits/stl_algobase.h:836:50: error: unrecognized command line option '-f unroll-loops'
         __newlast1(_II1, _II1 __last1, _II2, _II2)
                                                  ^
/usr/include/c++/4.8/bits/stl_algobase.h:841:39: error: unrecognized command line option '-f unroll-loops'
         __cnd2(_II __first, _II __last)
                                       ^
/usr/include/c++/4.8/bits/stl_algobase.h:851:35: error: unrecognized command line option '-f unroll-loops'
      _RAI2 __first2, _RAI2 __last2)
                                   ^
/usr/include/c++/4.8/bits/stl_algobase.h:862:26: error: unrecognized command line option '-f unroll-loops'
         __cnd2(_RAI, _RAI)
                          ^
/usr/include/c++/4.8/bits/stl_algobase.h:870:48: error: unrecognized command line option '-f unroll-loops'
         static bool __lc(_II1, _II1, _II2, _II2);
                                                ^
/usr/include/c++/4.8/bits/stl_algobase.h:877:68: error: unrecognized command line option '-f unroll-loops'
       __lc(_II1 __first1, _II1 __last1, _II2 __first2, _II2 __last2)
                                                                    ^
/usr/include/c++/4.8/bits/stl_algobase.h:902:46: error: unrecognized command line option '-f unroll-loops'
       const _Up* __first2, const _Up* __last2)
                                              ^
/usr/include/c++/4.8/bits/stl_algobase.h:915:34: error: unrecognized command line option '-f unroll-loops'
       _II2 __first2, _II2 __last2)
                                  ^
/usr/include/c++/4.8/bits/stl_algobase.h:944:19: error: unrecognized command line option '-f unroll-loops'
   const _Tp& __val)
                   ^
/usr/include/c++/4.8/bits/stl_algobase.h:980:15: error: unrecognized command line option '-f unroll-loops'
   __lg(int __n)
               ^
/usr/include/c++/4.8/bits/stl_algobase.h:984:20: error: unrecognized command line option '-f unroll-loops'
   __lg(unsigned __n)
                    ^
/usr/include/c++/4.8/bits/stl_algobase.h:988:16: error: unrecognized command line option '-f unroll-loops'
   __lg(long __n)
                ^
/usr/include/c++/4.8/bits/stl_algobase.h:992:25: error: unrecognized command line option '-f unroll-loops'
   __lg(unsigned long __n)
                         ^
/usr/include/c++/4.8/bits/stl_algobase.h:996:21: error: unrecognized command line option '-f unroll-loops'
   __lg(long long __n)
                     ^
/usr/include/c++/4.8/bits/stl_algobase.h:1000:30: error: unrecognized command line option '-f unroll-loops'
   __lg(unsigned long long __n)
                              ^
/usr/include/c++/4.8/bits/stl_algobase.h:1021:53: error: unrecognized command line option '-f unroll-loops'
     equal(_II1 __first1, _II1 __last1, _II2 __first2)
                                                     ^
/usr/include/c++/4.8/bits/stl_algobase.h:1054:52: error: unrecognized command line option '-f unroll-loops'
    _IIter2 __first2, _BinaryPredicate __binary_pred)
                                                    ^
/usr/include/c++/4.8/bits/stl_algobase.h:1085:35: error: unrecognized command line option '-f unroll-loops'
        _II2 __first2, _II2 __last2)
                                   ^
/usr/include/c++/4.8/bits/stl_algobase.h:1121:52: error: unrecognized command line option '-f unroll-loops'
        _II2 __first2, _II2 __last2, _Compare __comp)
                                                    ^
/usr/include/c++/4.8/bits/stl_algobase.h:1161:31: error: unrecognized command line option '-f unroll-loops'
       _InputIterator2 __first2)
                               ^
/usr/include/c++/4.8/bits/stl_algobase.h:1199:63: error: unrecognized command line option '-f unroll-loops'
       _InputIterator2 __first2, _BinaryPredicate __binary_pred)
                                                               ^
In file included from /usr/include/endian.h:60:0,
                 from /usr/include/i386-linux-gnu/bits/waitstatus.h:64,
                 from /usr/include/stdlib.h:42,
                 from /usr/include/c++/4.8/cstdlib:72,
                 from /usr/include/c++/4.8/bits/stl_algo.h:59,
                 from /usr/include/c++/4.8/algorithm:62,
                 from mxt.cpp:6:
/usr/include/i386-linux-gnu/bits/byteswap.h:45:31: error: unrecognized command line option '-f unroll-loops'
 __bswap_32 (unsigned int __bsx)
                               ^
/usr/include/i386-linux-gnu/bits/byteswap.h:109:29: error: unrecognized command line option '-f unroll-loops'
 __bswap_64 (__uint64_t __bsx)
                             ^
In file included from /usr/include/features.h:374:0,
                 from /usr/include/i386-linux-gnu/c++/4.8/bits/os_defines.h:39,
                 from /usr/include/i386-linux-gnu/c++/4.8/bits/c++config.h:426,
                 from /usr/include/c++/4.8/utility:68,
                 from /usr/include/c++/4.8/algorithm:60,
                 from mxt.cpp:6:
/usr/include/stdlib.h:139:53: error: unrecognized command line option '-f unroll-loops'
 extern size_t __ctype_get_mb_cur_max (void) __THROW __wur;
                                                     ^
/usr/include/stdlib.h:139:53: error: unrecognized command line option '-f unroll-loops'
/usr/include/stdlib.h:145:49: error: unrecognized command line option '-f unroll-loops'
      __THROW __attribute_pure__ __nonnull ((1)) __wur;
                                                 ^
/usr/include/stdlib.h:145:49: error: unrecognized command line option '-f unroll-loops'
/usr/include/stdlib.h:148:49: error: unrecognized command line option '-f unroll-loops'
      __THROW __attribute_pure__ __nonnull ((1)) __wur;
                                                 ^
/usr/include/stdlib.h:148:49: error: unrecognized command line option '-f unroll-loops'
/usr/include/stdlib.h:151:49: error: unrecognized command line option '-f unroll-loops'
      __THROW __attribute_pure__ __nonnull ((1)) 

Cum funcționează evaluarea?

www.pbinfo.ro permite evaluarea a două tipuri de probleme:

  • probleme la care rezolvarea presupune scrierea unui program complet
  • probleme la care rezolvarea presupune scrierea unei secvențe de program - câteva instrucțiuni, o listă de declarații, una sau mai multe funcții, etc.

Problema mxt face parte din prima categorie. Soluția propusă de tine va fi evaluată astfel:

  • Programul sursă este compilat folosind compilatorul corespunzător. Dacă în urma compilării se obțin erori sau avertismente, acestea sunt afișate în această pagină.
  • Dacă programul a fost compilat, executabilul obținut va fi rulat, furnizându-i-se unul sau mai multe seturi de date de intrare, în concordanță cu restricțiile specifice problemei. Pentru fiecare set de date se obține un anumit punctaj, în raport cu corectitudinea soluției tale.

Suma punctajelor acordate pe testele utilizate pentru verificare este 100. Astfel, soluția ta poate obține cel mult 100 de puncte, caz în care se poate considera corectă.