Submission #00006


ソースコード

ステータス

項目 データ
問題 0001 - 合計時間 (Total Time)
ユーザー名 Xyca.
投稿日時 2016-11-09 16:47:16
言語 C++11
状態 Compile Error
得点 0
ソースコード長 247 Byte
最大実行時間 -
最大メモリ使用量

コンパイルメッセージ

./Main.cpp:1:1: error: ‘include’ does not name a type
 include<iostream>
 ^
In file included from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/move.h:57:0,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_pair.h:59,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/utility:70,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/algorithm:60,
                 from ./Main.cpp:3:
/usr/local/gcc-5.1.0/include/c++/5.1.0/type_traits:326:31: error: ‘std::size_t’ has not been declared
   template<typename _Tp, std::size_t _Size>
                               ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/type_traits:525:37: error: ‘nullptr_t’ is not a member of ‘std’
     struct __is_null_pointer_helper<std::nullptr_t>
                                     ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/type_traits:525:37: error: ‘nullptr_t’ is not a member of ‘std’
/usr/local/gcc-5.1.0/include/c++/5.1.0/type_traits:525:51: error: template argument 1 is invalid
     struct __is_null_pointer_helper<std::nullptr_t>
                                                   ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/type_traits:1411:32: error: ‘size_t’ is not a member of ‘std’
     : public integral_constant<std::size_t, __alignof__(_Tp)> { };
                                ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/type_traits:1411:32: note: suggested alternative:
In file included from /usr/include/stdio.h:34:0,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/cstdio:42,
                 from ./Main.cpp:2:
/usr/local/gcc-5.1.0/lib/gcc/x86_64-unknown-linux-gnu/5.1.0/include/stddef.h:216:23: note:   ‘size_t’
 typedef __SIZE_TYPE__ size_t;
                       ^
In file included from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/move.h:57:0,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_pair.h:59,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/utility:70,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/algorithm:60,
                 from ./Main.cpp:3:
/usr/local/gcc-5.1.0/include/c++/5.1.0/type_traits:1411:32: error: ‘size_t’ is not a member of ‘std’
     : public integral_constant<std::size_t, __alignof__(_Tp)> { };
                                ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/type_traits:1411:32: note: suggested alternative:
In file included from /usr/include/stdio.h:34:0,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/cstdio:42,
                 from ./Main.cpp:2:
/usr/local/gcc-5.1.0/lib/gcc/x86_64-unknown-linux-gnu/5.1.0/include/stddef.h:216:23: note:   ‘size_t’
 typedef __SIZE_TYPE__ size_t;
                       ^
In file included from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/move.h:57:0,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_pair.h:59,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/utility:70,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/algorithm:60,
                 from ./Main.cpp:3:
/usr/local/gcc-5.1.0/include/c++/5.1.0/type_traits:1411:61: error: template argument 1 is invalid
     : public integral_constant<std::size_t, __alignof__(_Tp)> { };
                                                             ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/type_traits:1411:61: note: invalid template non-type parameter
/usr/local/gcc-5.1.0/include/c++/5.1.0/type_traits:1416:32: error: ‘size_t’ is not a member of ‘std’
     : public integral_constant<std::size_t, 0> { };
                                ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/type_traits:1416:32: note: suggested alternative:
In file included from /usr/include/stdio.h:34:0,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/cstdio:42,
                 from ./Main.cpp:2:
/usr/local/gcc-5.1.0/lib/gcc/x86_64-unknown-linux-gnu/5.1.0/include/stddef.h:216:23: note:   ‘size_t’
 typedef __SIZE_TYPE__ size_t;
                       ^
In file included from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/move.h:57:0,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_pair.h:59,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/utility:70,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/algorithm:60,
                 from ./Main.cpp:3:
/usr/local/gcc-5.1.0/include/c++/5.1.0/type_traits:1416:32: error: ‘size_t’ is not a member of ‘std’
     : public integral_constant<std::size_t, 0> { };
                                ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/type_traits:1416:32: note: suggested alternative:
In file included from /usr/include/stdio.h:34:0,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/cstdio:42,
                 from ./Main.cpp:2:
/usr/local/gcc-5.1.0/lib/gcc/x86_64-unknown-linux-gnu/5.1.0/include/stddef.h:216:23: note:   ‘size_t’
 typedef __SIZE_TYPE__ size_t;
                       ^
In file included from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/move.h:57:0,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_pair.h:59,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/utility:70,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/algorithm:60,
                 from ./Main.cpp:3:
/usr/local/gcc-5.1.0/include/c++/5.1.0/type_traits:1416:46: error: template argument 1 is invalid
     : public integral_constant<std::size_t, 0> { };
                                              ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/type_traits:1416:46: note: invalid template non-type parameter
/usr/local/gcc-5.1.0/include/c++/5.1.0/type_traits:1418:31: error: ‘std::size_t’ has not been declared
   template<typename _Tp, std::size_t _Size>
                               ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/type_traits:1420:32: error: ‘size_t’ is not a member of ‘std’
     : public integral_constant<std::size_t, 1 + rank<_Tp>::value> { };
                                ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/type_traits:1420:32: note: suggested alternative:
In file included from /usr/include/stdio.h:34:0,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/cstdio:42,
                 from ./Main.cpp:2:
/usr/local/gcc-5.1.0/lib/gcc/x86_64-unknown-linux-gnu/5.1.0/include/stddef.h:216:23: note:   ‘size_t’
 typedef __SIZE_TYPE__ size_t;
                       ^
In file included from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/move.h:57:0,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_pair.h:59,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/utility:70,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/algorithm:60,
                 from ./Main.cpp:3:
/usr/local/gcc-5.1.0/include/c++/5.1.0/type_traits:1420:32: error: ‘size_t’ is not a member of ‘std’
     : public integral_constant<std::size_t, 1 + rank<_Tp>::value> { };
                                ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/type_traits:1420:32: note: suggested alternative:
In file included from /usr/include/stdio.h:34:0,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/cstdio:42,
                 from ./Main.cpp:2:
/usr/local/gcc-5.1.0/lib/gcc/x86_64-unknown-linux-gnu/5.1.0/include/stddef.h:216:23: note:   ‘size_t’
 typedef __SIZE_TYPE__ size_t;
                       ^
In file included from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/move.h:57:0,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_pair.h:59,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/utility:70,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/algorithm:60,
                 from ./Main.cpp:3:
/usr/local/gcc-5.1.0/include/c++/5.1.0/type_traits:1420:65: error: template argument 1 is invalid
     : public integral_constant<std::size_t, 1 + rank<_Tp>::value> { };
                                                                 ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/type_traits:1420:65: note: invalid template non-type parameter
/usr/local/gcc-5.1.0/include/c++/5.1.0/type_traits:1424:32: error: ‘size_t’ is not a member of ‘std’
     : public integral_constant<std::size_t, 1 + rank<_Tp>::value> { };
                                ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/type_traits:1424:32: note: suggested alternative:
In file included from /usr/include/stdio.h:34:0,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/cstdio:42,
                 from ./Main.cpp:2:
/usr/local/gcc-5.1.0/lib/gcc/x86_64-unknown-linux-gnu/5.1.0/include/stddef.h:216:23: note:   ‘size_t’
 typedef __SIZE_TYPE__ size_t;
                       ^
In file included from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/move.h:57:0,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_pair.h:59,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/utility:70,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/algorithm:60,
                 from ./Main.cpp:3:
/usr/local/gcc-5.1.0/include/c++/5.1.0/type_traits:1424:32: error: ‘size_t’ is not a member of ‘std’
     : public integral_constant<std::size_t, 1 + rank<_Tp>::value> { };
                                ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/type_traits:1424:32: note: suggested alternative:
In file included from /usr/include/stdio.h:34:0,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/cstdio:42,
                 from ./Main.cpp:2:
/usr/local/gcc-5.1.0/lib/gcc/x86_64-unknown-linux-gnu/5.1.0/include/stddef.h:216:23: note:   ‘size_t’
 typedef __SIZE_TYPE__ size_t;
                       ^
In file included from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/move.h:57:0,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_pair.h:59,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/utility:70,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/algorithm:60,
                 from ./Main.cpp:3:
/usr/local/gcc-5.1.0/include/c++/5.1.0/type_traits:1424:65: error: template argument 1 is invalid
     : public integral_constant<std::size_t, 1 + rank<_Tp>::value> { };
                                                                 ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/type_traits:1424:65: note: invalid template non-type parameter
/usr/local/gcc-5.1.0/include/c++/5.1.0/type_traits:1429:32: error: ‘size_t’ is not a member of ‘std’
     : public integral_constant<std::size_t, 0> { };
                                ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/type_traits:1429:32: note: suggested alternative:
In file included from /usr/include/stdio.h:34:0,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/cstdio:42,
                 from ./Main.cpp:2:
/usr/local/gcc-5.1.0/lib/gcc/x86_64-unknown-linux-gnu/5.1.0/include/stddef.h:216:23: note:   ‘size_t’
 typedef __SIZE_TYPE__ size_t;
                       ^
In file included from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/move.h:57:0,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_pair.h:59,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/utility:70,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/algorithm:60,
                 from ./Main.cpp:3:
/usr/local/gcc-5.1.0/include/c++/5.1.0/type_traits:1429:32: error: ‘size_t’ is not a member of ‘std’
     : public integral_constant<std::size_t, 0> { };
                                ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/type_traits:1429:32: note: suggested alternative:
In file included from /usr/include/stdio.h:34:0,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/cstdio:42,
                 from ./Main.cpp:2:
/usr/local/gcc-5.1.0/lib/gcc/x86_64-unknown-linux-gnu/5.1.0/include/stddef.h:216:23: note:   ‘size_t’
 typedef __SIZE_TYPE__ size_t;
                       ^
In file included from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/move.h:57:0,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_pair.h:59,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/utility:70,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/algorithm:60,
                 from ./Main.cpp:3:
/usr/local/gcc-5.1.0/include/c++/5.1.0/type_traits:1429:46: error: template argument 1 is invalid
     : public integral_constant<std::size_t, 0> { };
                                              ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/type_traits:1429:46: note: invalid template non-type parameter
/usr/local/gcc-5.1.0/include/c++/5.1.0/type_traits:1431:47: error: ‘std::size_t’ has not been declared
   template<typename _Tp, unsigned _Uint, std::size_t _Size>
                                               ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/type_traits:1433:32: error: ‘size_t’ is not a member of ‘std’
     : public integral_constant<std::size_t,
                                ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/type_traits:1433:32: note: suggested alternative:
In file included from /usr/include/stdio.h:34:0,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/cstdio:42,
                 from ./Main.cpp:2:
/usr/local/gcc-5.1.0/lib/gcc/x86_64-unknown-linux-gnu/5.1.0/include/stddef.h:216:23: note:   ‘size_t’
 typedef __SIZE_TYPE__ size_t;
                       ^
In file included from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/move.h:57:0,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_pair.h:59,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/utility:70,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/algorithm:60,
                 from ./Main.cpp:3:
/usr/local/gcc-5.1.0/include/c++/5.1.0/type_traits:1433:32: error: ‘size_t’ is not a member of ‘std’
     : public integral_constant<std::size_t,
                                ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/type_traits:1433:32: note: suggested alternative:
In file included from /usr/include/stdio.h:34:0,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/cstdio:42,
                 from ./Main.cpp:2:
/usr/local/gcc-5.1.0/lib/gcc/x86_64-unknown-linux-gnu/5.1.0/include/stddef.h:216:23: note:   ‘size_t’
 typedef __SIZE_TYPE__ size_t;
                       ^
In file included from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/move.h:57:0,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_pair.h:59,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/utility:70,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/algorithm:60,
                 from ./Main.cpp:3:
/usr/local/gcc-5.1.0/include/c++/5.1.0/type_traits:1435:28: error: template argument 1 is invalid
           _Uint - 1>::value>
                            ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/type_traits:1435:28: note: invalid template non-type parameter
/usr/local/gcc-5.1.0/include/c++/5.1.0/type_traits:1440:32: error: ‘size_t’ is not a member of ‘std’
     : public integral_constant<std::size_t,
                                ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/type_traits:1440:32: note: suggested alternative:
In file included from /usr/include/stdio.h:34:0,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/cstdio:42,
                 from ./Main.cpp:2:
/usr/local/gcc-5.1.0/lib/gcc/x86_64-unknown-linux-gnu/5.1.0/include/stddef.h:216:23: note:   ‘size_t’
 typedef __SIZE_TYPE__ size_t;
                       ^
In file included from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/move.h:57:0,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_pair.h:59,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/utility:70,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/algorithm:60,
                 from ./Main.cpp:3:
/usr/local/gcc-5.1.0/include/c++/5.1.0/type_traits:1440:32: error: ‘size_t’ is not a member of ‘std’
     : public integral_constant<std::size_t,
                                ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/type_traits:1440:32: note: suggested alternative:
In file included from /usr/include/stdio.h:34:0,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/cstdio:42,
                 from ./Main.cpp:2:
/usr/local/gcc-5.1.0/lib/gcc/x86_64-unknown-linux-gnu/5.1.0/include/stddef.h:216:23: note:   ‘size_t’
 typedef __SIZE_TYPE__ size_t;
                       ^
In file included from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/move.h:57:0,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_pair.h:59,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/utility:70,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/algorithm:60,
                 from ./Main.cpp:3:
/usr/local/gcc-5.1.0/include/c++/5.1.0/type_traits:1442:31: error: template argument 1 is invalid
              _Uint - 1>::value>
                               ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/type_traits:1442:31: note: invalid template non-type parameter
/usr/local/gcc-5.1.0/include/c++/5.1.0/type_traits:1892:31: error: ‘std::size_t’ has not been declared
   template<typename _Tp, std::size_t _Size>
                               ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/type_traits:1905:31: error: ‘std::size_t’ has not been declared
   template<typename _Tp, std::size_t _Size>
                               ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/type_traits:1964:17: error: ‘std::size_t’ has not been declared
   template<std::size_t _Len>
                 ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/type_traits:1984:17: error: ‘std::size_t’ has not been declared
   template<std::size_t _Len, std::size_t _Align =
                 ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/type_traits:1984:35: error: ‘std::size_t’ has not been declared
   template<std::size_t _Len, std::size_t _Align =
                                   ^
In file included from /usr/local/gcc-5.1.0/include/c++/5.1.0/utility:70:0,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/algorithm:60,
                 from ./Main.cpp:3:
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_pair.h:85:17: error: ‘std::size_t’ has not been declared
   template<std::size_t...>
                 ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_pair.h:204:41: error: ‘std::size_t’ has not been declared
       template<typename... _Args1, std::size_t... _Indexes1,
                                         ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_pair.h:205:41: error: ‘std::size_t’ has not been declared
                typename... _Args2, std::size_t... _Indexes2>
                                         ^
In file included from /usr/local/gcc-5.1.0/include/c++/5.1.0/algorithm:60:0,
                 from ./Main.cpp:3:
/usr/local/gcc-5.1.0/include/c++/5.1.0/utility:84:17: error: ‘std::size_t’ has not been declared
   template<std::size_t _Int, class _Tp>
                 ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/utility:92:32: error: ‘size_t’ is not a member of ‘std’
     : public integral_constant<std::size_t, 2> { };
                                ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/utility:92:32: note: suggested alternative:
In file included from /usr/include/stdio.h:34:0,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/cstdio:42,
                 from ./Main.cpp:2:
/usr/local/gcc-5.1.0/lib/gcc/x86_64-unknown-linux-gnu/5.1.0/include/stddef.h:216:23: note:   ‘size_t’
 typedef __SIZE_TYPE__ size_t;
                       ^
In file included from /usr/local/gcc-5.1.0/include/c++/5.1.0/algorithm:60:0,
                 from ./Main.cpp:3:
/usr/local/gcc-5.1.0/include/c++/5.1.0/utility:92:32: error: ‘size_t’ is not a member of ‘std’
     : public integral_constant<std::size_t, 2> { };
                                ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/utility:92:32: note: suggested alternative:
In file included from /usr/include/stdio.h:34:0,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/cstdio:42,
                 from ./Main.cpp:2:
/usr/local/gcc-5.1.0/lib/gcc/x86_64-unknown-linux-gnu/5.1.0/include/stddef.h:216:23: note:   ‘size_t’
 typedef __SIZE_TYPE__ size_t;
                       ^
In file included from /usr/local/gcc-5.1.0/include/c++/5.1.0/algorithm:60:0,
                 from ./Main.cpp:3:
/usr/local/gcc-5.1.0/include/c++/5.1.0/utility:92:46: error: template argument 1 is invalid
     : public integral_constant<std::size_t, 2> { };
                                              ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/utility:92:46: note: invalid template non-type parameter
/usr/local/gcc-5.1.0/include/c++/5.1.0/utility:104:17: error: ‘std::size_t’ has not been declared
   template<std::size_t _Int>
                 ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/utility:145:17: error: ‘std::size_t’ has not been declared
   template<std::size_t _Int, class _Tp1, class _Tp2>
                 ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/utility:150:17: error: ‘std::size_t’ has not been declared
   template<std::size_t _Int, class _Tp1, class _Tp2>
                 ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/utility:155:17: error: ‘std::size_t’ has not been declared
   template<std::size_t _Int, class _Tp1, class _Tp2>
                 ^
In file included from /usr/local/gcc-5.1.0/include/c++/5.1.0/utility:70:0,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/algorithm:60,
                 from ./Main.cpp:3:
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_pair.h:85:23: error: template parameter ‘int ...<anonymous>’
   template<std::size_t...>
                       ^
In file included from /usr/local/gcc-5.1.0/include/c++/5.1.0/algorithm:60:0,
                 from ./Main.cpp:3:
/usr/local/gcc-5.1.0/include/c++/5.1.0/utility:206:12: error: redeclared here as ‘long unsigned int ..._Indexes’
     struct _Index_tuple
            ^
In file included from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_algobase.h:62:0,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/algorithm:61,
                 from ./Main.cpp:3:
/usr/local/gcc-5.1.0/include/c++/5.1.0/ext/type_traits.h:160:35: error: ‘__gnu_cxx::__is_null_pointer’ declared as an ‘inline’ variable
   __is_null_pointer(std::nullptr_t)
                                   ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/ext/type_traits.h:160:35: error: ‘bool __gnu_cxx::__is_null_pointer’ redeclared as different kind of symbol
/usr/local/gcc-5.1.0/include/c++/5.1.0/ext/type_traits.h:155:5: note: previous declaration ‘template<class _Type> bool __gnu_cxx::__is_null_pointer(_Type)’
     __is_null_pointer(_Type)
     ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/ext/type_traits.h:160:21: error: ‘nullptr_t’ is not a member of ‘std’
   __is_null_pointer(std::nullptr_t)
                     ^
In file included from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_algobase.h:65:0,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/algorithm:61,
                 from ./Main.cpp:3:
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_iterator_base_types.h:116:67: error: ‘ptrdiff_t’ does not name a type
   template<typename _Category, typename _Tp, typename _Distance = ptrdiff_t,
                                                                   ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_iterator_base_types.h:182:15: error: ‘ptrdiff_t’ does not name a type
       typedef ptrdiff_t                   difference_type;
               ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_iterator_base_types.h:193:15: error: ‘ptrdiff_t’ does not name a type
       typedef ptrdiff_t                   difference_type;
               ^
In file included from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_iterator.h:66:0,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_algobase.h:67,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/algorithm:61,
                 from ./Main.cpp:3:
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/ptr_traits.h:69:15: error: ‘ptrdiff_t’ does not name a type
       typedef ptrdiff_t __type;
               ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/ptr_traits.h:157:15: error: ‘ptrdiff_t’ does not name a type
       typedef ptrdiff_t difference_type;
               ^
In file included from /usr/local/gcc-5.1.0/include/c++/5.1.0/algorithm:61:0,
                 from ./Main.cpp:3:
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_algobase.h: In static member function ‘static _Tp* std::__copy_move<_IsMove, true, std::random_access_iterator_tag>::__copy_m(const _Tp*, const _Tp*, _Tp*)’:
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_algobase.h:380:10: error: ‘ptrdiff_t’ does not name a type
    const ptrdiff_t _Num = __last - __first;
          ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_algobase.h:381:8: error: ‘_Num’ was not declared in this scope
    if (_Num)
        ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_algobase.h:383:22: error: ‘_Num’ was not declared in this scope
    return __result + _Num;
                      ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_algobase.h: In static member function ‘static _Tp* std::__copy_move_backward<_IsMove, true, std::random_access_iterator_tag>::__copy_move_b(const _Tp*, const _Tp*, _Tp*)’:
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_algobase.h:580:10: error: ‘ptrdiff_t’ does not name a type
    const ptrdiff_t _Num = __last - __first;
          ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_algobase.h:581:8: error: ‘_Num’ was not declared in this scope
    if (_Num)
        ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_algobase.h:583:22: error: ‘_Num’ was not declared in this scope
    return __result - _Num;
                      ^
In file included from /usr/local/gcc-5.1.0/include/c++/5.1.0/exception:162:0,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/new:40,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_construct.h:59,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_tempbuf.h:60,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_algo.h:62,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/algorithm:62,
                 from ./Main.cpp:3:
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/exception_ptr.h: At global scope:
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/exception_ptr.h:95:30: error: field ‘nullptr_t’ has incomplete type ‘std::__exception_ptr::exception_ptr’
       exception_ptr(nullptr_t) noexcept
                              ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/exception_ptr.h:75:11: note: definition of ‘class std::__exception_ptr::exception_ptr’ is not complete until the closing brace
     class exception_ptr
           ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/exception_ptr.h:95:30: error: expected ‘;’ at end of member declaration
       exception_ptr(nullptr_t) noexcept
                              ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/exception_ptr.h:95:32: error: expected unqualified-id before ‘noexcept’
       exception_ptr(nullptr_t) noexcept
                                ^
In file included from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_construct.h:59:0,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_tempbuf.h:60,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_algo.h:62,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/algorithm:62,
                 from ./Main.cpp:3:
/usr/local/gcc-5.1.0/include/c++/5.1.0/new:111:31: error: declaration of ‘operator new’ as non-function
 void* operator new(std::size_t) _GLIBCXX_THROW (std::bad_alloc)
                               ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/new:111:20: error: ‘size_t’ is not a member of ‘std’
 void* operator new(std::size_t) _GLIBCXX_THROW (std::bad_alloc)
                    ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/new:111:20: note: suggested alternative:
In file included from /usr/include/stdio.h:34:0,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/cstdio:42,
                 from ./Main.cpp:2:
/usr/local/gcc-5.1.0/lib/gcc/x86_64-unknown-linux-gnu/5.1.0/include/stddef.h:216:23: note:   ‘size_t’
 typedef __SIZE_TYPE__ size_t;
                       ^
In file included from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_construct.h:59:0,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_tempbuf.h:60,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_algo.h:62,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/algorithm:62,
                 from ./Main.cpp:3:
/usr/local/gcc-5.1.0/include/c++/5.1.0/new:113:33: error: declaration of ‘operator new []’ as non-function
 void* operator new[](std::size_t) _GLIBCXX_THROW (std::bad_alloc)
                                 ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/new:113:22: error: ‘size_t’ is not a member of ‘std’
 void* operator new[](std::size_t) _GLIBCXX_THROW (std::bad_alloc)
                      ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/new:113:22: note: suggested alternative:
In file included from /usr/include/stdio.h:34:0,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/cstdio:42,
                 from ./Main.cpp:2:
/usr/local/gcc-5.1.0/lib/gcc/x86_64-unknown-linux-gnu/5.1.0/include/stddef.h:216:23: note:   ‘size_t’
 typedef __SIZE_TYPE__ size_t;
                       ^
In file included from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_construct.h:59:0,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_tempbuf.h:60,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_algo.h:62,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/algorithm:62,
                 from ./Main.cpp:3:
/usr/local/gcc-5.1.0/include/c++/5.1.0/new:119:25: error: declaration of ‘operator new’ as non-function
 void* operator new(std::size_t, const std::nothrow_t&) _GLIBCXX_USE_NOEXCEPT
                         ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/new:119:20: error: ‘size_t’ is not a member of ‘std’
 void* operator new(std::size_t, const std::nothrow_t&) _GLIBCXX_USE_NOEXCEPT
                    ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/new:119:20: note: suggested alternative:
In file included from /usr/include/stdio.h:34:0,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/cstdio:42,
                 from ./Main.cpp:2:
/usr/local/gcc-5.1.0/lib/gcc/x86_64-unknown-linux-gnu/5.1.0/include/stddef.h:216:23: note:   ‘size_t’
 typedef __SIZE_TYPE__ size_t;
                       ^
In file included from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_construct.h:59:0,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_tempbuf.h:60,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_algo.h:62,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/algorithm:62,
                 from ./Main.cpp:3:
/usr/local/gcc-5.1.0/include/c++/5.1.0/new:119:33: error: expected primary-expression before ‘const’
 void* operator new(std::size_t, const std::nothrow_t&) _GLIBCXX_USE_NOEXCEPT
                                 ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/new:121:27: error: declaration of ‘operator new []’ as non-function
 void* operator new[](std::size_t, const std::nothrow_t&) _GLIBCXX_USE_NOEXCEPT
                           ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/new:121:22: error: ‘size_t’ is not a member of ‘std’
 void* operator new[](std::size_t, const std::nothrow_t&) _GLIBCXX_USE_NOEXCEPT
                      ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/new:121:22: note: suggested alternative:
In file included from /usr/include/stdio.h:34:0,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/cstdio:42,
                 from ./Main.cpp:2:
/usr/local/gcc-5.1.0/lib/gcc/x86_64-unknown-linux-gnu/5.1.0/include/stddef.h:216:23: note:   ‘size_t’
 typedef __SIZE_TYPE__ size_t;
                       ^
In file included from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_construct.h:59:0,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_tempbuf.h:60,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_algo.h:62,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/algorithm:62,
                 from ./Main.cpp:3:
/usr/local/gcc-5.1.0/include/c++/5.1.0/new:121:35: error: expected primary-expression before ‘const’
 void* operator new[](std::size_t, const std::nothrow_t&) _GLIBCXX_USE_NOEXCEPT
                                   ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/new:129:32: error: declaration of ‘operator new’ as non-function
 inline void* operator new(std::size_t, void* __p) _GLIBCXX_USE_NOEXCEPT
                                ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/new:129:27: error: ‘size_t’ is not a member of ‘std’
 inline void* operator new(std::size_t, void* __p) _GLIBCXX_USE_NOEXCEPT
                           ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/new:129:27: note: suggested alternative:
In file included from /usr/include/stdio.h:34:0,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/cstdio:42,
                 from ./Main.cpp:2:
/usr/local/gcc-5.1.0/lib/gcc/x86_64-unknown-linux-gnu/5.1.0/include/stddef.h:216:23: note:   ‘size_t’
 typedef __SIZE_TYPE__ size_t;
                       ^
In file included from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_construct.h:59:0,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_tempbuf.h:60,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_algo.h:62,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/algorithm:62,
                 from ./Main.cpp:3:
/usr/local/gcc-5.1.0/include/c++/5.1.0/new:129:40: error: expected primary-expression before ‘void’
 inline void* operator new(std::size_t, void* __p) _GLIBCXX_USE_NOEXCEPT
                                        ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/new:131:34: error: declaration of ‘operator new []’ as non-function
 inline void* operator new[](std::size_t, void* __p) _GLIBCXX_USE_NOEXCEPT
                                  ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/new:131:29: error: ‘size_t’ is not a member of ‘std’
 inline void* operator new[](std::size_t, void* __p) _GLIBCXX_USE_NOEXCEPT
                             ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/new:131:29: note: suggested alternative:
In file included from /usr/include/stdio.h:34:0,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/cstdio:42,
                 from ./Main.cpp:2:
/usr/local/gcc-5.1.0/lib/gcc/x86_64-unknown-linux-gnu/5.1.0/include/stddef.h:216:23: note:   ‘size_t’
 typedef __SIZE_TYPE__ size_t;
                       ^
In file included from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_construct.h:59:0,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_tempbuf.h:60,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_algo.h:62,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/algorithm:62,
                 from ./Main.cpp:3:
/usr/local/gcc-5.1.0/include/c++/5.1.0/new:131:42: error: expected primary-expression before ‘void’
 inline void* operator new[](std::size_t, void* __p) _GLIBCXX_USE_NOEXCEPT
                                          ^
In file included from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_algo.h:62:0,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/algorithm:62,
                 from ./Main.cpp:3:
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_tempbuf.h:84:16: error: ‘ptrdiff_t’ was not declared in this scope
     pair<_Tp*, ptrdiff_t>
                ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_tempbuf.h:84:25: error: template argument 2 is invalid
     pair<_Tp*, ptrdiff_t>
                         ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_tempbuf.h:85:26: error: ‘ptrdiff_t’ was not declared in this scope
     get_temporary_buffer(ptrdiff_t __len) _GLIBCXX_NOEXCEPT
                          ^
In file included from /usr/local/gcc-5.1.0/include/c++/5.1.0/cstdio:41:0,
                 from ./Main.cpp:2:
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_tempbuf.h:85:43: error: expected ‘;’ before ‘noexcept’
     get_temporary_buffer(ptrdiff_t __len) _GLIBCXX_NOEXCEPT
                                           ^
In file included from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_algo.h:62:0,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/algorithm:62,
                 from ./Main.cpp:3:
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_tempbuf.h:131:15: error: ‘ptrdiff_t’ does not name a type
       typedef ptrdiff_t   size_type;
               ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_tempbuf.h:134:7: error: ‘size_type’ does not name a type
       size_type  _M_original_len;
       ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_tempbuf.h:135:7: error: ‘size_type’ does not name a type
       size_type  _M_len;
       ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_tempbuf.h:140:7: error: ‘size_type’ does not name a type
       size_type
       ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_tempbuf.h:145:7: error: ‘size_type’ does not name a type
       size_type
       ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_tempbuf.h: In member function ‘std::_Temporary_buffer<_ForwardIterator, _Tp>::value_type* std::_Temporary_buffer<_ForwardIterator, _Tp>::end()’:
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_tempbuf.h:157:28: error: ‘_M_len’ was not declared in this scope
       { return _M_buffer + _M_len; }
                            ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_tempbuf.h: In destructor ‘std::_Temporary_buffer<_ForwardIterator, _Tp>::~_Temporary_buffer()’:
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_tempbuf.h:167:39: error: ‘_M_len’ was not declared in this scope
  std::_Destroy(_M_buffer, _M_buffer + _M_len);
                                       ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_tempbuf.h: In constructor ‘std::_Temporary_buffer<_ForwardIterator, _Tp>::_Temporary_buffer(_ForwardIterator, _ForwardIterator)’:
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_tempbuf.h:245:7: error: class ‘std::_Temporary_buffer<_ForwardIterator, _Tp>’ does not have any field named ‘_M_original_len’
     : _M_original_len(std::distance(__first, __last)),
       ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_tempbuf.h:246:7: error: class ‘std::_Temporary_buffer<_ForwardIterator, _Tp>’ does not have any field named ‘_M_len’
       _M_len(0), _M_buffer(0)
       ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_tempbuf.h:250:23: error: ‘size_type’ was not declared in this scope
    std::pair<pointer, size_type> __p(std::get_temporary_buffer<
                       ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_tempbuf.h:250:32: error: template argument 2 is invalid
    std::pair<pointer, size_type> __p(std::get_temporary_buffer<
                                ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_tempbuf.h:251:22: error: ‘_M_original_len’ was not declared in this scope
          value_type>(_M_original_len));
                      ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_tempbuf.h:252:20: error: request for member ‘first’ in ‘__p’, which is of non-class type ‘int’
    _M_buffer = __p.first;
                    ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_tempbuf.h:253:4: error: ‘_M_len’ was not declared in this scope
    _M_len = __p.second;
    ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_tempbuf.h:253:17: error: request for member ‘second’ in ‘__p’, which is of non-class type ‘int’
    _M_len = __p.second;
                 ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_tempbuf.h:262:4: error: ‘_M_len’ was not declared in this scope
    _M_len = 0;
    ^
In file included from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/char_traits.h:40:0,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/string:40,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/random:40,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_algo.h:66,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/algorithm:62,
                 from ./Main.cpp:3:
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/postypes.h: At global scope:
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/postypes.h:98:11: error: ‘ptrdiff_t’ does not name a type
   typedef ptrdiff_t streamsize; // Signed integral type
           ^
In file included from /usr/local/gcc-5.1.0/include/c++/5.1.0/string:40:0,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/random:40,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_algo.h:66,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/algorithm:62,
                 from ./Main.cpp:3:
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/char_traits.h:104:66: error: ‘std::size_t’ has not been declared
       compare(const char_type* __s1, const char_type* __s2, std::size_t __n);
                                                                  ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/char_traits.h:106:19: error: ‘size_t’ in namespace ‘std’ does not name a type
       static std::size_t
                   ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/char_traits.h:110:39: error: ‘std::size_t’ has not been declared
       find(const char_type* __s, std::size_t __n, const char_type& __a);
                                       ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/char_traits.h:113:57: error: ‘std::size_t’ has not been declared
       move(char_type* __s1, const char_type* __s2, std::size_t __n);
                                                         ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/char_traits.h:116:57: error: ‘std::size_t’ has not been declared
       copy(char_type* __s1, const char_type* __s2, std::size_t __n);
                                                         ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/char_traits.h:119:35: error: ‘std::size_t’ has not been declared
       assign(char_type* __s, std::size_t __n, char_type __a);
                                   ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/char_traits.h:145:64: error: ‘std::size_t’ has not been declared
     compare(const char_type* __s1, const char_type* __s2, std::size_t __n)
                                                                ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/char_traits.h: In static member function ‘static int __gnu_cxx::char_traits<_CharT>::compare(const char_type*, const char_type*, int)’:
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/char_traits.h:147:12: error: ‘size_t’ is not a member of ‘std’
       for (std::size_t __i = 0; __i < __n; ++__i)
            ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/char_traits.h:147:12: note: suggested alternative:
In file included from /usr/include/stdio.h:34:0,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/cstdio:42,
                 from ./Main.cpp:2:
/usr/local/gcc-5.1.0/lib/gcc/x86_64-unknown-linux-gnu/5.1.0/include/stddef.h:216:23: note:   ‘size_t’
 typedef __SIZE_TYPE__ size_t;
                       ^
In file included from /usr/local/gcc-5.1.0/include/c++/5.1.0/string:40:0,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/random:40,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_algo.h:66,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/algorithm:62,
                 from ./Main.cpp:3:
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/char_traits.h:147:33: error: ‘__i’ was not declared in this scope
       for (std::size_t __i = 0; __i < __n; ++__i)
                                 ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/char_traits.h: At global scope:
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/char_traits.h:156:10: error: ‘size_t’ in namespace ‘std’ does not name a type
     std::size_t
          ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/char_traits.h:169:37: error: ‘std::size_t’ has not been declared
     find(const char_type* __s, std::size_t __n, const char_type& __a)
                                     ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/char_traits.h: In static member function ‘static const char_type* __gnu_cxx::char_traits<_CharT>::find(const char_type*, int, const char_type&)’:
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/char_traits.h:171:12: error: ‘size_t’ is not a member of ‘std’
       for (std::size_t __i = 0; __i < __n; ++__i)
            ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/char_traits.h:171:12: note: suggested alternative:
In file included from /usr/include/stdio.h:34:0,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/cstdio:42,
                 from ./Main.cpp:2:
/usr/local/gcc-5.1.0/lib/gcc/x86_64-unknown-linux-gnu/5.1.0/include/stddef.h:216:23: note:   ‘size_t’
 typedef __SIZE_TYPE__ size_t;
                       ^
In file included from /usr/local/gcc-5.1.0/include/c++/5.1.0/string:40:0,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/random:40,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_algo.h:66,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/algorithm:62,
                 from ./Main.cpp:3:
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/char_traits.h:171:33: error: ‘__i’ was not declared in this scope
       for (std::size_t __i = 0; __i < __n; ++__i)
                                 ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/char_traits.h: At global scope:
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/char_traits.h:180:55: error: ‘std::size_t’ has not been declared
     move(char_type* __s1, const char_type* __s2, std::size_t __n)
                                                       ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/char_traits.h:189:55: error: ‘std::size_t’ has not been declared
     copy(char_type* __s1, const char_type* __s2, std::size_t __n)
                                                       ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/char_traits.h:199:33: error: ‘std::size_t’ has not been declared
     assign(char_type* __s, std::size_t __n, char_type __a)
                                 ^
In file included from /usr/local/gcc-5.1.0/include/c++/5.1.0/x86_64-unknown-linux-gnu/bits/c++allocator.h:33:0,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/allocator.h:46,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/string:41,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/random:40,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_algo.h:66,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/algorithm:62,
                 from ./Main.cpp:3:
/usr/local/gcc-5.1.0/include/c++/5.1.0/ext/new_allocator.h:44:14: error: ‘std::size_t’ has not been declared
   using std::size_t;
              ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/ext/new_allocator.h:45:14: error: ‘std::ptrdiff_t’ has not been declared
   using std::ptrdiff_t;
              ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/ext/new_allocator.h:62:15: error: ‘ptrdiff_t’ does not name a type
       typedef ptrdiff_t  difference_type;
               ^
In file included from /usr/local/gcc-5.1.0/include/c++/5.1.0/string:41:0,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/random:40,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_algo.h:66,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/algorithm:62,
                 from ./Main.cpp:3:
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/allocator.h:67:15: error: ‘ptrdiff_t’ does not name a type
       typedef ptrdiff_t   difference_type;
               ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/allocator.h:96:15: error: ‘ptrdiff_t’ does not name a type
       typedef ptrdiff_t  difference_type;
               ^
In file included from /usr/local/gcc-5.1.0/include/c++/5.1.0/string:44:0,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/random:40,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_algo.h:66,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/algorithm:62,
                 from ./Main.cpp:3:
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/ostream_insert.h:45:26: error: ‘streamsize’ has not been declared
       const _CharT* __s, streamsize __n)
                          ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/ostream_insert.h: In function ‘void std::__ostream_write(std::basic_ostream<_CharT, _Traits>&, const _CharT*, int)’:
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/ostream_insert.h:50:13: error: ‘streamsize’ does not name a type
       const streamsize __put = __out.rdbuf()->sputn(__s, __n);
             ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/ostream_insert.h:51:11: error: ‘__put’ was not declared in this scope
       if (__put != __n)
           ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/ostream_insert.h: At global scope:
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/ostream_insert.h:57:59: error: ‘streamsize’ has not been declared
     __ostream_fill(basic_ostream<_CharT, _Traits>& __out, streamsize __n)
                                                           ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/ostream_insert.h:77:27: error: ‘streamsize’ has not been declared
        const _CharT* __s, streamsize __n)
                           ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/ostream_insert.h: In function ‘std::basic_ostream<_CharT, _Traits>& std::__ostream_insert(std::basic_ostream<_CharT, _Traits>&, const _CharT*, int)’:
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/ostream_insert.h:87:14: error: ‘streamsize’ does not name a type
        const streamsize __w = __out.width();
              ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/ostream_insert.h:88:12: error: ‘__w’ was not declared in this scope
        if (__w > __n)
            ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/ostream_insert.h: At global scope:
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/ostream_insert.h:118:68: error: ‘streamsize’ has not been declared
   extern template ostream& __ostream_insert(ostream&, const char*, streamsize);
                                                                    ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/ostream_insert.h:122:11: error: ‘streamsize’ has not been declared
           streamsize);
           ^
In file included from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/basic_string.h:5244:0,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/string:52,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/random:40,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_algo.h:66,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/algorithm:62,
                 from ./Main.cpp:3:
/usr/local/gcc-5.1.0/include/c++/5.1.0/ext/string_conversions.h:55:51: error: ‘std::size_t’ has not been declared
     const char* __name, const _CharT* __str, std::size_t* __idx,
                                                   ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/ext/string_conversions.h:83:48: error: ‘std::size_t’ has not been declared
     __to_xstring(int (*__convf) (_CharT*, std::size_t, const _CharT*,
                                                ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/ext/string_conversions.h:84:31: error: ‘std::size_t’ has not been declared
      __builtin_va_list), std::size_t __n,
                               ^
In file included from /usr/local/gcc-5.1.0/include/c++/5.1.0/ext/alloc_traits.h:36:0,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_construct.h:61,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_tempbuf.h:60,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_algo.h:62,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/algorithm:62,
                 from ./Main.cpp:3:
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/alloc_traits.h: In instantiation of ‘struct std::allocator_traits<std::allocator<char> >’:
/usr/local/gcc-5.1.0/include/c++/5.1.0/ext/alloc_traits.h:95:10:   required from ‘struct __gnu_cxx::__alloc_traits<std::allocator<char> >’
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/basic_string.h:74:24:   required from ‘class std::__cxx11::basic_string<char>’
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/basic_string.h:5254:68:   required from here
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/alloc_traits.h:140:1: error: no type named ‘difference_type’ in ‘struct std::pointer_traits<char*>’
 _GLIBCXX_ALLOC_TR_NESTED_TYPE(difference_type,
 ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/alloc_traits.h:140:1: error: no matching function for call to ‘std::allocator_traits<std::allocator<char> >::_S_difference_type_helper(std::allocator<char>*)’
 _GLIBCXX_ALLOC_TR_NESTED_TYPE(difference_type,
 ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/alloc_traits.h:140:1: note: candidate: template<class _Tp> static typename _Tp::difference_type std::allocator_traits<_Alloc>::_S_difference_type_helper(_Tp*) [with _Tp = _Tp; _Alloc = std::allocator<char>]
 _GLIBCXX_ALLOC_TR_NESTED_TYPE(difference_type,
 ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/alloc_traits.h:140:1: note:   template argument deduction/substitution failed:
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/alloc_traits.h: In substitution of ‘template<class _Tp> static typename _Tp::difference_type std::allocator_traits<_Alloc>::_S_difference_type_helper(_Tp*) [with _Tp = std::allocator<char>]’:
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/alloc_traits.h:140:1:   required from ‘struct std::allocator_traits<std::allocator<char> >’
/usr/local/gcc-5.1.0/include/c++/5.1.0/ext/alloc_traits.h:95:10:   required from ‘struct __gnu_cxx::__alloc_traits<std::allocator<char> >’
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/basic_string.h:74:24:   required from ‘class std::__cxx11::basic_string<char>’
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/basic_string.h:5254:68:   required from here
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/alloc_traits.h:140:1: error: no type named ‘difference_type’ in ‘class std::allocator<char>’
In file included from /usr/local/gcc-5.1.0/include/c++/5.1.0/string:52:0,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/random:40,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_algo.h:66,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/algorithm:62,
                 from ./Main.cpp:3:
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/basic_string.h: In function ‘int std::__cxx11::stoi(const string&, size_t*, int)’:
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/basic_string.h:5255:19: error: no matching function for call to ‘__stoa(long int (*)(const char*, char**, int) throw (), const char [5], const char*, size_t*&, int&)’
      __idx, __base); }
                   ^
In file included from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/basic_string.h:5244:0,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/string:52,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/random:40,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_algo.h:66,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/algorithm:62,
                 from ./Main.cpp:3:
/usr/local/gcc-5.1.0/include/c++/5.1.0/ext/string_conversions.h:54:5: note: candidate: template<class _TRet, class _Ret, class _CharT, class ... _Base> _Ret __gnu_cxx::__stoa(_TRet (*)(const _CharT*, _CharT**, _Base ...), const char*, const _CharT*, int*, _Base ...)
     __stoa(_TRet (*__convf) (const _CharT*, _CharT**, _Base...),
     ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/ext/string_conversions.h:54:5: note:   template argument deduction/substitution failed:
In file included from /usr/local/gcc-5.1.0/include/c++/5.1.0/string:52:0,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/random:40,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_algo.h:66,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/algorithm:62,
                 from ./Main.cpp:3:
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/basic_string.h:5255:19: note:   cannot convert ‘__idx’ (type ‘size_t* {aka long unsigned int*}’) to type ‘int*’
      __idx, __base); }
                   ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/basic_string.h: In function ‘long int std::__cxx11::stol(const string&, size_t*, int)’:
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/basic_string.h:5260:22: error: no matching function for call to ‘__stoa(long int (*)(const char*, char**, int) throw (), const char [5], const char*, size_t*&, int&)’
         __idx, __base); }
                      ^
In file included from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/basic_string.h:5244:0,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/string:52,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/random:40,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_algo.h:66,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/algorithm:62,
                 from ./Main.cpp:3:
/usr/local/gcc-5.1.0/include/c++/5.1.0/ext/string_conversions.h:54:5: note: candidate: template<class _TRet, class _Ret, class _CharT, class ... _Base> _Ret __gnu_cxx::__stoa(_TRet (*)(const _CharT*, _CharT**, _Base ...), const char*, const _CharT*, int*, _Base ...)
     __stoa(_TRet (*__convf) (const _CharT*, _CharT**, _Base...),
     ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/ext/string_conversions.h:54:5: note:   template argument deduction/substitution failed:
In file included from /usr/local/gcc-5.1.0/include/c++/5.1.0/string:52:0,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/random:40,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_algo.h:66,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/algorithm:62,
                 from ./Main.cpp:3:
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/basic_string.h:5260:22: note:   cannot convert ‘__idx’ (type ‘size_t* {aka long unsigned int*}’) to type ‘int*’
         __idx, __base); }
                      ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/basic_string.h: In function ‘long unsigned int std::__cxx11::stoul(const string&, size_t*, int)’:
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/basic_string.h:5265:22: error: no matching function for call to ‘__stoa(long unsigned int (*)(const char*, char**, int) throw (), const char [6], const char*, size_t*&, int&)’
         __idx, __base); }
                      ^
In file included from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/basic_string.h:5244:0,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/string:52,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/random:40,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_algo.h:66,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/algorithm:62,
                 from ./Main.cpp:3:
/usr/local/gcc-5.1.0/include/c++/5.1.0/ext/string_conversions.h:54:5: note: candidate: template<class _TRet, class _Ret, class _CharT, class ... _Base> _Ret __gnu_cxx::__stoa(_TRet (*)(const _CharT*, _CharT**, _Base ...), const char*, const _CharT*, int*, _Base ...)
     __stoa(_TRet (*__convf) (const _CharT*, _CharT**, _Base...),
     ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/ext/string_conversions.h:54:5: note:   template argument deduction/substitution failed:
In file included from /usr/local/gcc-5.1.0/include/c++/5.1.0/string:52:0,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/random:40,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_algo.h:66,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/algorithm:62,
                 from ./Main.cpp:3:
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/basic_string.h:5265:22: note:   cannot convert ‘__idx’ (type ‘size_t* {aka long unsigned int*}’) to type ‘int*’
         __idx, __base); }
                      ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/basic_string.h: In function ‘long long int std::__cxx11::stoll(const string&, size_t*, int)’:
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/basic_string.h:5270:22: error: no matching function for call to ‘__stoa(long long int (*)(const char*, char**, int) throw (), const char [6], const char*, size_t*&, int&)’
         __idx, __base); }
                      ^
In file included from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/basic_string.h:5244:0,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/string:52,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/random:40,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_algo.h:66,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/algorithm:62,
                 from ./Main.cpp:3:
/usr/local/gcc-5.1.0/include/c++/5.1.0/ext/string_conversions.h:54:5: note: candidate: template<class _TRet, class _Ret, class _CharT, class ... _Base> _Ret __gnu_cxx::__stoa(_TRet (*)(const _CharT*, _CharT**, _Base ...), const char*, const _CharT*, int*, _Base ...)
     __stoa(_TRet (*__convf) (const _CharT*, _CharT**, _Base...),
     ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/ext/string_conversions.h:54:5: note:   template argument deduction/substitution failed:
In file included from /usr/local/gcc-5.1.0/include/c++/5.1.0/string:52:0,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/random:40,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_algo.h:66,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/algorithm:62,
                 from ./Main.cpp:3:
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/basic_string.h:5270:22: note:   cannot convert ‘__idx’ (type ‘size_t* {aka long unsigned int*}’) to type ‘int*’
         __idx, __base); }
                      ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/basic_string.h: In function ‘long long unsigned int std::__cxx11::stoull(const string&, size_t*, int)’:
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/basic_string.h:5275:22: error: no matching function for call to ‘__stoa(long long unsigned int (*)(const char*, char**, int) throw (), const char [7], const char*, size_t*&, int&)’
         __idx, __base); }
                      ^
In file included from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/basic_string.h:5244:0,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/string:52,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/random:40,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_algo.h:66,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/algorithm:62,
                 from ./Main.cpp:3:
/usr/local/gcc-5.1.0/include/c++/5.1.0/ext/string_conversions.h:54:5: note: candidate: template<class _TRet, class _Ret, class _CharT, class ... _Base> _Ret __gnu_cxx::__stoa(_TRet (*)(const _CharT*, _CharT**, _Base ...), const char*, const _CharT*, int*, _Base ...)
     __stoa(_TRet (*__convf) (const _CharT*, _CharT**, _Base...),
     ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/ext/string_conversions.h:54:5: note:   template argument deduction/substitution failed:
In file included from /usr/local/gcc-5.1.0/include/c++/5.1.0/string:52:0,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/random:40,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_algo.h:66,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/algorithm:62,
                 from ./Main.cpp:3:
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/basic_string.h:5275:22: note:   cannot convert ‘__idx’ (type ‘size_t* {aka long unsigned int*}’) to type ‘int*’
         __idx, __base); }
                      ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/basic_string.h: In function ‘float std::__cxx11::stof(const string&, size_t*)’:
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/basic_string.h:5280:72: error: no matching function for call to ‘__stoa(float (*)(const char*, char**) throw (), const char [5], const char*, size_t*&)’
   { return __gnu_cxx::__stoa(&std::strtof, "stof", __str.c_str(), __idx); }
                                                                        ^
In file included from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/basic_string.h:5244:0,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/string:52,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/random:40,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_algo.h:66,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/algorithm:62,
                 from ./Main.cpp:3:
/usr/local/gcc-5.1.0/include/c++/5.1.0/ext/string_conversions.h:54:5: note: candidate: template<class _TRet, class _Ret, class _CharT, class ... _Base> _Ret __gnu_cxx::__stoa(_TRet (*)(const _CharT*, _CharT**, _Base ...), const char*, const _CharT*, int*, _Base ...)
     __stoa(_TRet (*__convf) (const _CharT*, _CharT**, _Base...),
     ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/ext/string_conversions.h:54:5: note:   template argument deduction/substitution failed:
In file included from /usr/local/gcc-5.1.0/include/c++/5.1.0/string:52:0,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/random:40,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_algo.h:66,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/algorithm:62,
                 from ./Main.cpp:3:
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/basic_string.h:5280:72: note:   cannot convert ‘__idx’ (type ‘size_t* {aka long unsigned int*}’) to type ‘int*’
   { return __gnu_cxx::__stoa(&std::strtof, "stof", __str.c_str(), __idx); }
                                                                        ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/basic_string.h: In function ‘double std::__cxx11::stod(const string&, size_t*)’:
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/basic_string.h:5284:72: error: no matching function for call to ‘__stoa(double (*)(const char*, char**) throw (), const char [5], const char*, size_t*&)’
   { return __gnu_cxx::__stoa(&std::strtod, "stod", __str.c_str(), __idx); }
                                                                        ^
In file included from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/basic_string.h:5244:0,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/string:52,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/random:40,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_algo.h:66,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/algorithm:62,
                 from ./Main.cpp:3:
/usr/local/gcc-5.1.0/include/c++/5.1.0/ext/string_conversions.h:54:5: note: candidate: template<class _TRet, class _Ret, class _CharT, class ... _Base> _Ret __gnu_cxx::__stoa(_TRet (*)(const _CharT*, _CharT**, _Base ...), const char*, const _CharT*, int*, _Base ...)
     __stoa(_TRet (*__convf) (const _CharT*, _CharT**, _Base...),
     ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/ext/string_conversions.h:54:5: note:   template argument deduction/substitution failed:
In file included from /usr/local/gcc-5.1.0/include/c++/5.1.0/string:52:0,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/random:40,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_algo.h:66,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/algorithm:62,
                 from ./Main.cpp:3:
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/basic_string.h:5284:72: note:   cannot convert ‘__idx’ (type ‘size_t* {aka long unsigned int*}’) to type ‘int*’
   { return __gnu_cxx::__stoa(&std::strtod, "stod", __str.c_str(), __idx); }
                                                                        ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/basic_string.h: In function ‘long double std::__cxx11::stold(const string&, size_t*)’:
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/basic_string.h:5288:74: error: no matching function for call to ‘__stoa(long double (*)(const char*, char**) throw (), const char [6], const char*, size_t*&)’
   { return __gnu_cxx::__stoa(&std::strtold, "stold", __str.c_str(), __idx); }
                                                                          ^
In file included from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/basic_string.h:5244:0,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/string:52,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/random:40,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_algo.h:66,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/algorithm:62,
                 from ./Main.cpp:3:
/usr/local/gcc-5.1.0/include/c++/5.1.0/ext/string_conversions.h:54:5: note: candidate: template<class _TRet, class _Ret, class _CharT, class ... _Base> _Ret __gnu_cxx::__stoa(_TRet (*)(const _CharT*, _CharT**, _Base ...), const char*, const _CharT*, int*, _Base ...)
     __stoa(_TRet (*__convf) (const _CharT*, _CharT**, _Base...),
     ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/ext/string_conversions.h:54:5: note:   template argument deduction/substitution failed:
In file included from /usr/local/gcc-5.1.0/include/c++/5.1.0/string:52:0,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/random:40,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_algo.h:66,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/algorithm:62,
                 from ./Main.cpp:3:
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/basic_string.h:5288:74: note:   cannot convert ‘__idx’ (type ‘size_t* {aka long unsigned int*}’) to type ‘int*’
   { return __gnu_cxx::__stoa(&std::strtold, "stold", __str.c_str(), __idx); }
                                                                          ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/basic_string.h: In function ‘std::__cxx11::string std::__cxx11::to_string(int)’:
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/basic_string.h:5296:20: error: no matching function for call to ‘__to_xstring(int (*)(char*, size_t, const char*, __va_list_tag*) throw (), long unsigned int, const char [3], int&)’
         "%d", __val); }
                    ^
In file included from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/basic_string.h:5244:0,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/string:52,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/random:40,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_algo.h:66,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/algorithm:62,
                 from ./Main.cpp:3:
/usr/local/gcc-5.1.0/include/c++/5.1.0/ext/string_conversions.h:83:5: note: candidate: template<class _String, class _CharT> _String __gnu_cxx::__to_xstring(int (*)(_CharT*, int, const _CharT*, __va_list_tag*), int, const _CharT*, ...)
     __to_xstring(int (*__convf) (_CharT*, std::size_t, const _CharT*,
     ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/ext/string_conversions.h:83:5: note:   template argument deduction/substitution failed:
In file included from /usr/local/gcc-5.1.0/include/c++/5.1.0/string:52:0,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/random:40,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_algo.h:66,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/algorithm:62,
                 from ./Main.cpp:3:
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/basic_string.h:5296:20: note:   mismatched types ‘int’ and ‘size_t {aka long unsigned int}’
         "%d", __val); }
                    ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/basic_string.h: In function ‘std::__cxx11::string std::__cxx11::to_string(unsigned int)’:
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/basic_string.h:5302:20: error: no matching function for call to ‘__to_xstring(int (*)(char*, size_t, const char*, __va_list_tag*) throw (), long unsigned int, const char [3], unsigned int&)’
         "%u", __val); }
                    ^
In file included from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/basic_string.h:5244:0,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/string:52,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/random:40,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_algo.h:66,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/algorithm:62,
                 from ./Main.cpp:3:
/usr/local/gcc-5.1.0/include/c++/5.1.0/ext/string_conversions.h:83:5: note: candidate: template<class _String, class _CharT> _String __gnu_cxx::__to_xstring(int (*)(_CharT*, int, const _CharT*, __va_list_tag*), int, const _CharT*, ...)
     __to_xstring(int (*__convf) (_CharT*, std::size_t, const _CharT*,
     ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/ext/string_conversions.h:83:5: note:   template argument deduction/substitution failed:
In file included from /usr/local/gcc-5.1.0/include/c++/5.1.0/string:52:0,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/random:40,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_algo.h:66,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/algorithm:62,
                 from ./Main.cpp:3:
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/basic_string.h:5302:20: note:   mismatched types ‘int’ and ‘size_t {aka long unsigned int}’
         "%u", __val); }
                    ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/basic_string.h: In function ‘std::__cxx11::string std::__cxx11::to_string(long int)’:
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/basic_string.h:5307:21: error: no matching function for call to ‘__to_xstring(int (*)(char*, size_t, const char*, __va_list_tag*) throw (), long unsigned int, const char [4], long int&)’
         "%ld", __val); }
                     ^
In file included from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/basic_string.h:5244:0,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/string:52,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/random:40,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_algo.h:66,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/algorithm:62,
                 from ./Main.cpp:3:
/usr/local/gcc-5.1.0/include/c++/5.1.0/ext/string_conversions.h:83:5: note: candidate: template<class _String, class _CharT> _String __gnu_cxx::__to_xstring(int (*)(_CharT*, int, const _CharT*, __va_list_tag*), int, const _CharT*, ...)
     __to_xstring(int (*__convf) (_CharT*, std::size_t, const _CharT*,
     ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/ext/string_conversions.h:83:5: note:   template argument deduction/substitution failed:
In file included from /usr/local/gcc-5.1.0/include/c++/5.1.0/string:52:0,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/random:40,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_algo.h:66,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/algorithm:62,
                 from ./Main.cpp:3:
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/basic_string.h:5307:21: note:   mismatched types ‘int’ and ‘size_t {aka long unsigned int}’
         "%ld", __val); }
                     ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/basic_string.h: In function ‘std::__cxx11::string std::__cxx11::to_string(long unsigned int)’:
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/basic_string.h:5313:21: error: no matching function for call to ‘__to_xstring(int (*)(char*, size_t, const char*, __va_list_tag*) throw (), long unsigned int, const char [4], long unsigned int&)’
         "%lu", __val); }
                     ^
In file included from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/basic_string.h:5244:0,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/string:52,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/random:40,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_algo.h:66,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/algorithm:62,
                 from ./Main.cpp:3:
/usr/local/gcc-5.1.0/include/c++/5.1.0/ext/string_conversions.h:83:5: note: candidate: template<class _String, class _CharT> _String __gnu_cxx::__to_xstring(int (*)(_CharT*, int, const _CharT*, __va_list_tag*), int, const _CharT*, ...)
     __to_xstring(int (*__convf) (_CharT*, std::size_t, const _CharT*,
     ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/ext/string_conversions.h:83:5: note:   template argument deduction/substitution failed:
In file included from /usr/local/gcc-5.1.0/include/c++/5.1.0/string:52:0,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/random:40,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_algo.h:66,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/algorithm:62,
                 from ./Main.cpp:3:
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/basic_string.h:5313:21: note:   mismatched types ‘int’ and ‘size_t {aka long unsigned int}’
         "%lu", __val); }
                     ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/basic_string.h: In function ‘std::__cxx11::string std::__cxx11::to_string(long long int)’:
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/basic_string.h:5319:22: error: no matching function for call to ‘__to_xstring(int (*)(char*, size_t, const char*, __va_list_tag*) throw (), long unsigned int, const char [5], long long int&)’
         "%lld", __val); }
                      ^
In file included from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/basic_string.h:5244:0,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/string:52,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/random:40,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_algo.h:66,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/algorithm:62,
                 from ./Main.cpp:3:
/usr/local/gcc-5.1.0/include/c++/5.1.0/ext/string_conversions.h:83:5: note: candidate: template<class _String, class _CharT> _String __gnu_cxx::__to_xstring(int (*)(_CharT*, int, const _CharT*, __va_list_tag*), int, const _CharT*, ...)
     __to_xstring(int (*__convf) (_CharT*, std::size_t, const _CharT*,
     ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/ext/string_conversions.h:83:5: note:   template argument deduction/substitution failed:
In file included from /usr/local/gcc-5.1.0/include/c++/5.1.0/string:52:0,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/random:40,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_algo.h:66,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/algorithm:62,
                 from ./Main.cpp:3:
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/basic_string.h:5319:22: note:   mismatched types ‘int’ and ‘size_t {aka long unsigned int}’
         "%lld", __val); }
                      ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/basic_string.h: In function ‘std::__cxx11::string std::__cxx11::to_string(long long unsigned int)’:
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/basic_string.h:5325:22: error: no matching function for call to ‘__to_xstring(int (*)(char*, size_t, const char*, __va_list_tag*) throw (), long unsigned int, const char [5], long long unsigned int&)’
         "%llu", __val); }
                      ^
In file included from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/basic_string.h:5244:0,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/string:52,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/random:40,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_algo.h:66,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/algorithm:62,
                 from ./Main.cpp:3:
/usr/local/gcc-5.1.0/include/c++/5.1.0/ext/string_conversions.h:83:5: note: candidate: template<class _String, class _CharT> _String __gnu_cxx::__to_xstring(int (*)(_CharT*, int, const _CharT*, __va_list_tag*), int, const _CharT*, ...)
     __to_xstring(int (*__convf) (_CharT*, std::size_t, const _CharT*,
     ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/ext/string_conversions.h:83:5: note:   template argument deduction/substitution failed:
In file included from /usr/local/gcc-5.1.0/include/c++/5.1.0/string:52:0,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/random:40,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_algo.h:66,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/algorithm:62,
                 from ./Main.cpp:3:
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/basic_string.h:5325:22: note:   mismatched types ‘int’ and ‘size_t {aka long unsigned int}’
         "%llu", __val); }
                      ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/basic_string.h: In function ‘std::__cxx11::string std::__cxx11::to_string(float)’:
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/basic_string.h:5333:20: error: no matching function for call to ‘__to_xstring(int (*)(char*, size_t, const char*, __va_list_tag*) throw (), const int&, const char [3], float&)’
         "%f", __val);
                    ^
In file included from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/basic_string.h:5244:0,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/string:52,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/random:40,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_algo.h:66,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/algorithm:62,
                 from ./Main.cpp:3:
/usr/local/gcc-5.1.0/include/c++/5.1.0/ext/string_conversions.h:83:5: note: candidate: template<class _String, class _CharT> _String __gnu_cxx::__to_xstring(int (*)(_CharT*, int, const _CharT*, __va_list_tag*), int, const _CharT*, ...)
     __to_xstring(int (*__convf) (_CharT*, std::size_t, const _CharT*,
     ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/ext/string_conversions.h:83:5: note:   template argument deduction/substitution failed:
In file included from /usr/local/gcc-5.1.0/include/c++/5.1.0/string:52:0,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/random:40,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_algo.h:66,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/algorithm:62,
                 from ./Main.cpp:3:
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/basic_string.h:5333:20: note:   mismatched types ‘int’ and ‘size_t {aka long unsigned int}’
         "%f", __val);
                    ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/basic_string.h: In function ‘std::__cxx11::string std::__cxx11::to_string(double)’:
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/basic_string.h:5342:20: error: no matching function for call to ‘__to_xstring(int (*)(char*, size_t, const char*, __va_list_tag*) throw (), const int&, const char [3], double&)’
         "%f", __val);
                    ^
In file included from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/basic_string.h:5244:0,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/string:52,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/random:40,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_algo.h:66,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/algorithm:62,
                 from ./Main.cpp:3:
/usr/local/gcc-5.1.0/include/c++/5.1.0/ext/string_conversions.h:83:5: note: candidate: template<class _String, class _CharT> _String __gnu_cxx::__to_xstring(int (*)(_CharT*, int, const _CharT*, __va_list_tag*), int, const _CharT*, ...)
     __to_xstring(int (*__convf) (_CharT*, std::size_t, const _CharT*,
     ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/ext/string_conversions.h:83:5: note:   template argument deduction/substitution failed:
In file included from /usr/local/gcc-5.1.0/include/c++/5.1.0/string:52:0,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/random:40,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_algo.h:66,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/algorithm:62,
                 from ./Main.cpp:3:
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/basic_string.h:5342:20: note:   mismatched types ‘int’ and ‘size_t {aka long unsigned int}’
         "%f", __val);
                    ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/basic_string.h: In function ‘std::__cxx11::string std::__cxx11::to_string(long double)’:
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/basic_string.h:5351:21: error: no matching function for call to ‘__to_xstring(int (*)(char*, size_t, const char*, __va_list_tag*) throw (), const int&, const char [4], long double&)’
         "%Lf", __val);
                     ^
In file included from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/basic_string.h:5244:0,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/string:52,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/random:40,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_algo.h:66,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/algorithm:62,
                 from ./Main.cpp:3:
/usr/local/gcc-5.1.0/include/c++/5.1.0/ext/string_conversions.h:83:5: note: candidate: template<class _String, class _CharT> _String __gnu_cxx::__to_xstring(int (*)(_CharT*, int, const _CharT*, __va_list_tag*), int, const _CharT*, ...)
     __to_xstring(int (*__convf) (_CharT*, std::size_t, const _CharT*,
     ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/ext/string_conversions.h:83:5: note:   template argument deduction/substitution failed:
In file included from /usr/local/gcc-5.1.0/include/c++/5.1.0/string:52:0,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/random:40,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_algo.h:66,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/algorithm:62,
                 from ./Main.cpp:3:
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/basic_string.h:5351:21: note:   mismatched types ‘int’ and ‘size_t {aka long unsigned int}’
         "%Lf", __val);
                     ^
In file included from /usr/local/gcc-5.1.0/include/c++/5.1.0/ext/alloc_traits.h:36:0,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_construct.h:61,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_tempbuf.h:60,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_algo.h:62,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/algorithm:62,
                 from ./Main.cpp:3:
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/alloc_traits.h: In instantiation of ‘struct std::allocator_traits<std::allocator<wchar_t> >’:
/usr/local/gcc-5.1.0/include/c++/5.1.0/ext/alloc_traits.h:95:10:   required from ‘struct __gnu_cxx::__alloc_traits<std::allocator<wchar_t> >’
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/basic_string.h:74:24:   required from ‘class std::__cxx11::basic_string<wchar_t>’
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/basic_string.h:5357:68:   required from here
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/alloc_traits.h:140:1: error: no type named ‘difference_type’ in ‘struct std::pointer_traits<wchar_t*>’
 _GLIBCXX_ALLOC_TR_NESTED_TYPE(difference_type,
 ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/alloc_traits.h:140:1: error: no matching function for call to ‘std::allocator_traits<std::allocator<wchar_t> >::_S_difference_type_helper(std::allocator<wchar_t>*)’
 _GLIBCXX_ALLOC_TR_NESTED_TYPE(difference_type,
 ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/alloc_traits.h:140:1: note: candidate: template<class _Tp> static typename _Tp::difference_type std::allocator_traits<_Alloc>::_S_difference_type_helper(_Tp*) [with _Tp = _Tp; _Alloc = std::allocator<wchar_t>]
 _GLIBCXX_ALLOC_TR_NESTED_TYPE(difference_type,
 ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/alloc_traits.h:140:1: note:   template argument deduction/substitution failed:
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/alloc_traits.h: In substitution of ‘template<class _Tp> static typename _Tp::difference_type std::allocator_traits<_Alloc>::_S_difference_type_helper(_Tp*) [with _Tp = std::allocator<wchar_t>]’:
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/alloc_traits.h:140:1:   required from ‘struct std::allocator_traits<std::allocator<wchar_t> >’
/usr/local/gcc-5.1.0/include/c++/5.1.0/ext/alloc_traits.h:95:10:   required from ‘struct __gnu_cxx::__alloc_traits<std::allocator<wchar_t> >’
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/basic_string.h:74:24:   required from ‘class std::__cxx11::basic_string<wchar_t>’
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/basic_string.h:5357:68:   required from here
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/alloc_traits.h:140:1: error: no type named ‘difference_type’ in ‘class std::allocator<wchar_t>’
In file included from /usr/local/gcc-5.1.0/include/c++/5.1.0/string:52:0,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/random:40,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_algo.h:66,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/algorithm:62,
                 from ./Main.cpp:3:
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/basic_string.h: In function ‘int std::__cxx11::stoi(const wstring&, size_t*, int)’:
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/basic_string.h:5358:19: error: no matching function for call to ‘__stoa(long int (*)(const wchar_t*, wchar_t**, int) throw (), const char [5], const wchar_t*, size_t*&, int&)’
      __idx, __base); }
                   ^
In file included from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/basic_string.h:5244:0,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/string:52,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/random:40,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_algo.h:66,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/algorithm:62,
                 from ./Main.cpp:3:
/usr/local/gcc-5.1.0/include/c++/5.1.0/ext/string_conversions.h:54:5: note: candidate: template<class _TRet, class _Ret, class _CharT, class ... _Base> _Ret __gnu_cxx::__stoa(_TRet (*)(const _CharT*, _CharT**, _Base ...), const char*, const _CharT*, int*, _Base ...)
     __stoa(_TRet (*__convf) (const _CharT*, _CharT**, _Base...),
     ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/ext/string_conversions.h:54:5: note:   template argument deduction/substitution failed:
In file included from /usr/local/gcc-5.1.0/include/c++/5.1.0/string:52:0,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/random:40,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_algo.h:66,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/algorithm:62,
                 from ./Main.cpp:3:
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/basic_string.h:5358:19: note:   cannot convert ‘__idx’ (type ‘size_t* {aka long unsigned int*}’) to type ‘int*’
      __idx, __base); }
                   ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/basic_string.h: In function ‘long int std::__cxx11::stol(const wstring&, size_t*, int)’:
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/basic_string.h:5363:22: error: no matching function for call to ‘__stoa(long int (*)(const wchar_t*, wchar_t**, int) throw (), const char [5], const wchar_t*, size_t*&, int&)’
         __idx, __base); }
                      ^
In file included from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/basic_string.h:5244:0,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/string:52,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/random:40,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_algo.h:66,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/algorithm:62,
                 from ./Main.cpp:3:
/usr/local/gcc-5.1.0/include/c++/5.1.0/ext/string_conversions.h:54:5: note: candidate: template<class _TRet, class _Ret, class _CharT, class ... _Base> _Ret __gnu_cxx::__stoa(_TRet (*)(const _CharT*, _CharT**, _Base ...), const char*, const _CharT*, int*, _Base ...)
     __stoa(_TRet (*__convf) (const _CharT*, _CharT**, _Base...),
     ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/ext/string_conversions.h:54:5: note:   template argument deduction/substitution failed:
In file included from /usr/local/gcc-5.1.0/include/c++/5.1.0/string:52:0,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/random:40,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_algo.h:66,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/algorithm:62,
                 from ./Main.cpp:3:
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/basic_string.h:5363:22: note:   cannot convert ‘__idx’ (type ‘size_t* {aka long unsigned int*}’) to type ‘int*’
         __idx, __base); }
                      ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/basic_string.h: In function ‘long unsigned int std::__cxx11::stoul(const wstring&, size_t*, int)’:
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/basic_string.h:5368:22: error: no matching function for call to ‘__stoa(long unsigned int (*)(const wchar_t*, wchar_t**, int) throw (), const char [6], const wchar_t*, size_t*&, int&)’
         __idx, __base); }
                      ^
In file included from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/basic_string.h:5244:0,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/string:52,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/random:40,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_algo.h:66,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/algorithm:62,
                 from ./Main.cpp:3:
/usr/local/gcc-5.1.0/include/c++/5.1.0/ext/string_conversions.h:54:5: note: candidate: template<class _TRet, class _Ret, class _CharT, class ... _Base> _Ret __gnu_cxx::__stoa(_TRet (*)(const _CharT*, _CharT**, _Base ...), const char*, const _CharT*, int*, _Base ...)
     __stoa(_TRet (*__convf) (const _CharT*, _CharT**, _Base...),
     ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/ext/string_conversions.h:54:5: note:   template argument deduction/substitution failed:
In file included from /usr/local/gcc-5.1.0/include/c++/5.1.0/string:52:0,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/random:40,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_algo.h:66,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/algorithm:62,
                 from ./Main.cpp:3:
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/basic_string.h:5368:22: note:   cannot convert ‘__idx’ (type ‘size_t* {aka long unsigned int*}’) to type ‘int*’
         __idx, __base); }
                      ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/basic_string.h: In function ‘long long int std::__cxx11::stoll(const wstring&, size_t*, int)’:
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/basic_string.h:5373:22: error: no matching function for call to ‘__stoa(long long int (*)(const wchar_t*, wchar_t**, int) throw (), const char [6], const wchar_t*, size_t*&, int&)’
         __idx, __base); }
                      ^
In file included from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/basic_string.h:5244:0,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/string:52,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/random:40,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_algo.h:66,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/algorithm:62,
                 from ./Main.cpp:3:
/usr/local/gcc-5.1.0/include/c++/5.1.0/ext/string_conversions.h:54:5: note: candidate: template<class _TRet, class _Ret, class _CharT, class ... _Base> _Ret __gnu_cxx::__stoa(_TRet (*)(const _CharT*, _CharT**, _Base ...), const char*, const _CharT*, int*, _Base ...)
     __stoa(_TRet (*__convf) (const _CharT*, _CharT**, _Base...),
     ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/ext/string_conversions.h:54:5: note:   template argument deduction/substitution failed:
In file included from /usr/local/gcc-5.1.0/include/c++/5.1.0/string:52:0,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/random:40,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_algo.h:66,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/algorithm:62,
                 from ./Main.cpp:3:
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/basic_string.h:5373:22: note:   cannot convert ‘__idx’ (type ‘size_t* {aka long unsigned int*}’) to type ‘int*’
         __idx, __base); }
                      ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/basic_string.h: In function ‘long long unsigned int std::__cxx11::stoull(const wstring&, size_t*, int)’:
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/basic_string.h:5378:22: error: no matching function for call to ‘__stoa(long long unsigned int (*)(const wchar_t*, wchar_t**, int) throw (), const char [7], const wchar_t*, size_t*&, int&)’
         __idx, __base); }
                      ^
In file included from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/basic_string.h:5244:0,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/string:52,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/random:40,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_algo.h:66,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/algorithm:62,
                 from ./Main.cpp:3:
/usr/local/gcc-5.1.0/include/c++/5.1.0/ext/string_conversions.h:54:5: note: candidate: template<class _TRet, class _Ret, class _CharT, class ... _Base> _Ret __gnu_cxx::__stoa(_TRet (*)(const _CharT*, _CharT**, _Base ...), const char*, const _CharT*, int*, _Base ...)
     __stoa(_TRet (*__convf) (const _CharT*, _CharT**, _Base...),
     ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/ext/string_conversions.h:54:5: note:   template argument deduction/substitution failed:
In file included from /usr/local/gcc-5.1.0/include/c++/5.1.0/string:52:0,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/random:40,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_algo.h:66,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/algorithm:62,
                 from ./Main.cpp:3:
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/basic_string.h:5378:22: note:   cannot convert ‘__idx’ (type ‘size_t* {aka long unsigned int*}’) to type ‘int*’
         __idx, __base); }
                      ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/basic_string.h: In function ‘float std::__cxx11::stof(const wstring&, size_t*)’:
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/basic_string.h:5383:72: error: no matching function for call to ‘__stoa(float (*)(const wchar_t*, wchar_t**) throw (), const char [5], const wchar_t*, size_t*&)’
   { return __gnu_cxx::__stoa(&std::wcstof, "stof", __str.c_str(), __idx); }
                                                                        ^
In file included from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/basic_string.h:5244:0,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/string:52,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/random:40,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_algo.h:66,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/algorithm:62,
                 from ./Main.cpp:3:
/usr/local/gcc-5.1.0/include/c++/5.1.0/ext/string_conversions.h:54:5: note: candidate: template<class _TRet, class _Ret, class _CharT, class ... _Base> _Ret __gnu_cxx::__stoa(_TRet (*)(const _CharT*, _CharT**, _Base ...), const char*, const _CharT*, int*, _Base ...)
     __stoa(_TRet (*__convf) (const _CharT*, _CharT**, _Base...),
     ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/ext/string_conversions.h:54:5: note:   template argument deduction/substitution failed:
In file included from /usr/local/gcc-5.1.0/include/c++/5.1.0/string:52:0,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/random:40,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_algo.h:66,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/algorithm:62,
                 from ./Main.cpp:3:
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/basic_string.h:5383:72: note:   cannot convert ‘__idx’ (type ‘size_t* {aka long unsigned int*}’) to type ‘int*’
   { return __gnu_cxx::__stoa(&std::wcstof, "stof", __str.c_str(), __idx); }
                                                                        ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/basic_string.h: In function ‘double std::__cxx11::stod(const wstring&, size_t*)’:
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/basic_string.h:5387:72: error: no matching function for call to ‘__stoa(double (*)(const wchar_t*, wchar_t**) throw (), const char [5], const wchar_t*, size_t*&)’
   { return __gnu_cxx::__stoa(&std::wcstod, "stod", __str.c_str(), __idx); }
                                                                        ^
In file included from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/basic_string.h:5244:0,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/string:52,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/random:40,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_algo.h:66,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/algorithm:62,
                 from ./Main.cpp:3:
/usr/local/gcc-5.1.0/include/c++/5.1.0/ext/string_conversions.h:54:5: note: candidate: template<class _TRet, class _Ret, class _CharT, class ... _Base> _Ret __gnu_cxx::__stoa(_TRet (*)(const _CharT*, _CharT**, _Base ...), const char*, const _CharT*, int*, _Base ...)
     __stoa(_TRet (*__convf) (const _CharT*, _CharT**, _Base...),
     ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/ext/string_conversions.h:54:5: note:   template argument deduction/substitution failed:
In file included from /usr/local/gcc-5.1.0/include/c++/5.1.0/string:52:0,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/random:40,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_algo.h:66,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/algorithm:62,
                 from ./Main.cpp:3:
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/basic_string.h:5387:72: note:   cannot convert ‘__idx’ (type ‘size_t* {aka long unsigned int*}’) to type ‘int*’
   { return __gnu_cxx::__stoa(&std::wcstod, "stod", __str.c_str(), __idx); }
                                                                        ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/basic_string.h: In function ‘long double std::__cxx11::stold(const wstring&, size_t*)’:
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/basic_string.h:5391:74: error: no matching function for call to ‘__stoa(long double (*)(const wchar_t*, wchar_t**) throw (), const char [6], const wchar_t*, size_t*&)’
   { return __gnu_cxx::__stoa(&std::wcstold, "stold", __str.c_str(), __idx); }
                                                                          ^
In file included from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/basic_string.h:5244:0,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/string:52,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/random:40,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_algo.h:66,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/algorithm:62,
                 from ./Main.cpp:3:
/usr/local/gcc-5.1.0/include/c++/5.1.0/ext/string_conversions.h:54:5: note: candidate: template<class _TRet, class _Ret, class _CharT, class ... _Base> _Ret __gnu_cxx::__stoa(_TRet (*)(const _CharT*, _CharT**, _Base ...), const char*, const _CharT*, int*, _Base ...)
     __stoa(_TRet (*__convf) (const _CharT*, _CharT**, _Base...),
     ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/ext/string_conversions.h:54:5: note:   template argument deduction/substitution failed:
In file included from /usr/local/gcc-5.1.0/include/c++/5.1.0/string:52:0,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/random:40,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_algo.h:66,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/algorithm:62,
                 from ./Main.cpp:3:
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/basic_string.h:5391:74: note:   cannot convert ‘__idx’ (type ‘size_t* {aka long unsigned int*}’) to type ‘int*’
   { return __gnu_cxx::__stoa(&std::wcstold, "stold", __str.c_str(), __idx); }
                                                                          ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/basic_string.h: In function ‘std::__cxx11::wstring std::__cxx11::to_wstring(int)’:
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/basic_string.h:5398:22: error: no matching function for call to ‘__to_xstring(int (*)(wchar_t*, size_t, const wchar_t*, __va_list_tag*) throw (), long unsigned int, const wchar_t [3], int&)’
          L"%d", __val); }
                      ^
In file included from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/basic_string.h:5244:0,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/string:52,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/random:40,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_algo.h:66,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/algorithm:62,
                 from ./Main.cpp:3:
/usr/local/gcc-5.1.0/include/c++/5.1.0/ext/string_conversions.h:83:5: note: candidate: template<class _String, class _CharT> _String __gnu_cxx::__to_xstring(int (*)(_CharT*, int, const _CharT*, __va_list_tag*), int, const _CharT*, ...)
     __to_xstring(int (*__convf) (_CharT*, std::size_t, const _CharT*,
     ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/ext/string_conversions.h:83:5: note:   template argument deduction/substitution failed:
In file included from /usr/local/gcc-5.1.0/include/c++/5.1.0/string:52:0,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/random:40,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_algo.h:66,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/algorithm:62,
                 from ./Main.cpp:3:
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/basic_string.h:5398:22: note:   mismatched types ‘int’ and ‘size_t {aka long unsigned int}’
          L"%d", __val); }
                      ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/basic_string.h: In function ‘std::__cxx11::wstring std::__cxx11::to_wstring(unsigned int)’:
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/basic_string.h:5404:22: error: no matching function for call to ‘__to_xstring(int (*)(wchar_t*, size_t, const wchar_t*, __va_list_tag*) throw (), long unsigned int, const wchar_t [3], unsigned int&)’
          L"%u", __val); }
                      ^
In file included from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/basic_string.h:5244:0,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/string:52,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/random:40,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_algo.h:66,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/algorithm:62,
                 from ./Main.cpp:3:
/usr/local/gcc-5.1.0/include/c++/5.1.0/ext/string_conversions.h:83:5: note: candidate: template<class _String, class _CharT> _String __gnu_cxx::__to_xstring(int (*)(_CharT*, int, const _CharT*, __va_list_tag*), int, const _CharT*, ...)
     __to_xstring(int (*__convf) (_CharT*, std::size_t, const _CharT*,
     ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/ext/string_conversions.h:83:5: note:   template argument deduction/substitution failed:
In file included from /usr/local/gcc-5.1.0/include/c++/5.1.0/string:52:0,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/random:40,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_algo.h:66,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/algorithm:62,
                 from ./Main.cpp:3:
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/basic_string.h:5404:22: note:   mismatched types ‘int’ and ‘size_t {aka long unsigned int}’
          L"%u", __val); }
                      ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/basic_string.h: In function ‘std::__cxx11::wstring std::__cxx11::to_wstring(long int)’:
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/basic_string.h:5409:23: error: no matching function for call to ‘__to_xstring(int (*)(wchar_t*, size_t, const wchar_t*, __va_list_tag*) throw (), long unsigned int, const wchar_t [4], long int&)’
          L"%ld", __val); }
                       ^
In file included from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/basic_string.h:5244:0,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/string:52,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/random:40,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_algo.h:66,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/algorithm:62,
                 from ./Main.cpp:3:
/usr/local/gcc-5.1.0/include/c++/5.1.0/ext/string_conversions.h:83:5: note: candidate: template<class _String, class _CharT> _String __gnu_cxx::__to_xstring(int (*)(_CharT*, int, const _CharT*, __va_list_tag*), int, const _CharT*, ...)
     __to_xstring(int (*__convf) (_CharT*, std::size_t, const _CharT*,
     ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/ext/string_conversions.h:83:5: note:   template argument deduction/substitution failed:
In file included from /usr/local/gcc-5.1.0/include/c++/5.1.0/string:52:0,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/random:40,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_algo.h:66,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/algorithm:62,
                 from ./Main.cpp:3:
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/basic_string.h:5409:23: note:   mismatched types ‘int’ and ‘size_t {aka long unsigned int}’
          L"%ld", __val); }
                       ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/basic_string.h: In function ‘std::__cxx11::wstring std::__cxx11::to_wstring(long unsigned int)’:
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/basic_string.h:5415:23: error: no matching function for call to ‘__to_xstring(int (*)(wchar_t*, size_t, const wchar_t*, __va_list_tag*) throw (), long unsigned int, const wchar_t [4], long unsigned int&)’
          L"%lu", __val); }
                       ^
In file included from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/basic_string.h:5244:0,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/string:52,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/random:40,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_algo.h:66,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/algorithm:62,
                 from ./Main.cpp:3:
/usr/local/gcc-5.1.0/include/c++/5.1.0/ext/string_conversions.h:83:5: note: candidate: template<class _String, class _CharT> _String __gnu_cxx::__to_xstring(int (*)(_CharT*, int, const _CharT*, __va_list_tag*), int, const _CharT*, ...)
     __to_xstring(int (*__convf) (_CharT*, std::size_t, const _CharT*,
     ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/ext/string_conversions.h:83:5: note:   template argument deduction/substitution failed:
In file included from /usr/local/gcc-5.1.0/include/c++/5.1.0/string:52:0,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/random:40,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_algo.h:66,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/algorithm:62,
                 from ./Main.cpp:3:
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/basic_string.h:5415:23: note:   mismatched types ‘int’ and ‘size_t {aka long unsigned int}’
          L"%lu", __val); }
                       ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/basic_string.h: In function ‘std::__cxx11::wstring std::__cxx11::to_wstring(long long int)’:
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/basic_string.h:5421:24: error: no matching function for call to ‘__to_xstring(int (*)(wchar_t*, size_t, const wchar_t*, __va_list_tag*) throw (), long unsigned int, const wchar_t [5], long long int&)’
          L"%lld", __val); }
                        ^
In file included from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/basic_string.h:5244:0,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/string:52,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/random:40,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_algo.h:66,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/algorithm:62,
                 from ./Main.cpp:3:
/usr/local/gcc-5.1.0/include/c++/5.1.0/ext/string_conversions.h:83:5: note: candidate: template<class _String, class _CharT> _String __gnu_cxx::__to_xstring(int (*)(_CharT*, int, const _CharT*, __va_list_tag*), int, const _CharT*, ...)
     __to_xstring(int (*__convf) (_CharT*, std::size_t, const _CharT*,
     ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/ext/string_conversions.h:83:5: note:   template argument deduction/substitution failed:
In file included from /usr/local/gcc-5.1.0/include/c++/5.1.0/string:52:0,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/random:40,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_algo.h:66,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/algorithm:62,
                 from ./Main.cpp:3:
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/basic_string.h:5421:24: note:   mismatched types ‘int’ and ‘size_t {aka long unsigned int}’
          L"%lld", __val); }
                        ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/basic_string.h: In function ‘std::__cxx11::wstring std::__cxx11::to_wstring(long long unsigned int)’:
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/basic_string.h:5427:24: error: no matching function for call to ‘__to_xstring(int (*)(wchar_t*, size_t, const wchar_t*, __va_list_tag*) throw (), long unsigned int, const wchar_t [5], long long unsigned int&)’
          L"%llu", __val); }
                        ^
In file included from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/basic_string.h:5244:0,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/string:52,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/random:40,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_algo.h:66,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/algorithm:62,
                 from ./Main.cpp:3:
/usr/local/gcc-5.1.0/include/c++/5.1.0/ext/string_conversions.h:83:5: note: candidate: template<class _String, class _CharT> _String __gnu_cxx::__to_xstring(int (*)(_CharT*, int, const _CharT*, __va_list_tag*), int, const _CharT*, ...)
     __to_xstring(int (*__convf) (_CharT*, std::size_t, const _CharT*,
     ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/ext/string_conversions.h:83:5: note:   template argument deduction/substitution failed:
In file included from /usr/local/gcc-5.1.0/include/c++/5.1.0/string:52:0,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/random:40,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_algo.h:66,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/algorithm:62,
                 from ./Main.cpp:3:
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/basic_string.h:5427:24: note:   mismatched types ‘int’ and ‘size_t {aka long unsigned int}’
          L"%llu", __val); }
                        ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/basic_string.h: In function ‘std::__cxx11::wstring std::__cxx11::to_wstring(float)’:
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/basic_string.h:5435:22: error: no matching function for call to ‘__to_xstring(int (*)(wchar_t*, size_t, const wchar_t*, __va_list_tag*) throw (), const int&, const wchar_t [3], float&)’
          L"%f", __val);
                      ^
In file included from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/basic_string.h:5244:0,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/string:52,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/random:40,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_algo.h:66,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/algorithm:62,
                 from ./Main.cpp:3:
/usr/local/gcc-5.1.0/include/c++/5.1.0/ext/string_conversions.h:83:5: note: candidate: template<class _String, class _CharT> _String __gnu_cxx::__to_xstring(int (*)(_CharT*, int, const _CharT*, __va_list_tag*), int, const _CharT*, ...)
     __to_xstring(int (*__convf) (_CharT*, std::size_t, const _CharT*,
     ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/ext/string_conversions.h:83:5: note:   template argument deduction/substitution failed:
In file included from /usr/local/gcc-5.1.0/include/c++/5.1.0/string:52:0,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/random:40,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_algo.h:66,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/algorithm:62,
                 from ./Main.cpp:3:
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/basic_string.h:5435:22: note:   mismatched types ‘int’ and ‘size_t {aka long unsigned int}’
          L"%f", __val);
                      ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/basic_string.h: In function ‘std::__cxx11::wstring std::__cxx11::to_wstring(double)’:
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/basic_string.h:5444:22: error: no matching function for call to ‘__to_xstring(int (*)(wchar_t*, size_t, const wchar_t*, __va_list_tag*) throw (), const int&, const wchar_t [3], double&)’
          L"%f", __val);
                      ^
In file included from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/basic_string.h:5244:0,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/string:52,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/random:40,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_algo.h:66,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/algorithm:62,
                 from ./Main.cpp:3:
/usr/local/gcc-5.1.0/include/c++/5.1.0/ext/string_conversions.h:83:5: note: candidate: template<class _String, class _CharT> _String __gnu_cxx::__to_xstring(int (*)(_CharT*, int, const _CharT*, __va_list_tag*), int, const _CharT*, ...)
     __to_xstring(int (*__convf) (_CharT*, std::size_t, const _CharT*,
     ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/ext/string_conversions.h:83:5: note:   template argument deduction/substitution failed:
In file included from /usr/local/gcc-5.1.0/include/c++/5.1.0/string:52:0,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/random:40,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_algo.h:66,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/algorithm:62,
                 from ./Main.cpp:3:
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/basic_string.h:5444:22: note:   mismatched types ‘int’ and ‘size_t {aka long unsigned int}’
          L"%f", __val);
                      ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/basic_string.h: In function ‘std::__cxx11::wstring std::__cxx11::to_wstring(long double)’:
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/basic_string.h:5453:23: error: no matching function for call to ‘__to_xstring(int (*)(wchar_t*, size_t, const wchar_t*, __va_list_tag*) throw (), const int&, const wchar_t [4], long double&)’
          L"%Lf", __val);
                       ^
In file included from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/basic_string.h:5244:0,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/string:52,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/random:40,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_algo.h:66,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/algorithm:62,
                 from ./Main.cpp:3:
/usr/local/gcc-5.1.0/include/c++/5.1.0/ext/string_conversions.h:83:5: note: candidate: template<class _String, class _CharT> _String __gnu_cxx::__to_xstring(int (*)(_CharT*, int, const _CharT*, __va_list_tag*), int, const _CharT*, ...)
     __to_xstring(int (*__convf) (_CharT*, std::size_t, const _CharT*,
     ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/ext/string_conversions.h:83:5: note:   template argument deduction/substitution failed:
In file included from /usr/local/gcc-5.1.0/include/c++/5.1.0/string:52:0,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/random:40,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_algo.h:66,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/algorithm:62,
                 from ./Main.cpp:3:
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/basic_string.h:5453:23: note:   mismatched types ‘int’ and ‘size_t {aka long unsigned int}’
          L"%Lf", __val);
                       ^
In file included from /usr/local/gcc-5.1.0/include/c++/5.1.0/ext/alloc_traits.h:36:0,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_construct.h:61,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_tempbuf.h:60,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_algo.h:62,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/algorithm:62,
                 from ./Main.cpp:3:
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/alloc_traits.h: In instantiation of ‘struct std::allocator_traits<std::allocator<char16_t> >’:
/usr/local/gcc-5.1.0/include/c++/5.1.0/ext/alloc_traits.h:95:10:   required from ‘struct __gnu_cxx::__alloc_traits<std::allocator<char16_t> >’
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/basic_string.h:74:24:   required from ‘class std::__cxx11::basic_string<char16_t>’
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/basic_string.h:5515:41:   required from here
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/alloc_traits.h:140:1: error: no type named ‘difference_type’ in ‘struct std::pointer_traits<char16_t*>’
 _GLIBCXX_ALLOC_TR_NESTED_TYPE(difference_type,
 ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/alloc_traits.h:140:1: error: no matching function for call to ‘std::allocator_traits<std::allocator<char16_t> >::_S_difference_type_helper(std::allocator<char16_t>*)’
 _GLIBCXX_ALLOC_TR_NESTED_TYPE(difference_type,
 ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/alloc_traits.h:140:1: note: candidate: template<class _Tp> static typename _Tp::difference_type std::allocator_traits<_Alloc>::_S_difference_type_helper(_Tp*) [with _Tp = _Tp; _Alloc = std::allocator<char16_t>]
 _GLIBCXX_ALLOC_TR_NESTED_TYPE(difference_type,
 ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/alloc_traits.h:140:1: note:   template argument deduction/substitution failed:
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/alloc_traits.h: In substitution of ‘template<class _Tp> static typename _Tp::difference_type std::allocator_traits<_Alloc>::_S_difference_type_helper(_Tp*) [with _Tp = std::allocator<char16_t>]’:
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/alloc_traits.h:140:1:   required from ‘struct std::allocator_traits<std::allocator<char16_t> >’
/usr/local/gcc-5.1.0/include/c++/5.1.0/ext/alloc_traits.h:95:10:   required from ‘struct __gnu_cxx::__alloc_traits<std::allocator<char16_t> >’
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/basic_string.h:74:24:   required from ‘class std::__cxx11::basic_string<char16_t>’
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/basic_string.h:5515:41:   required from here
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/alloc_traits.h:140:1: error: no type named ‘difference_type’ in ‘class std::allocator<char16_t>’
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/alloc_traits.h: In instantiation of ‘struct std::allocator_traits<std::allocator<char32_t> >’:
/usr/local/gcc-5.1.0/include/c++/5.1.0/ext/alloc_traits.h:95:10:   required from ‘struct __gnu_cxx::__alloc_traits<std::allocator<char32_t> >’
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/basic_string.h:74:24:   required from ‘class std::__cxx11::basic_string<char32_t>’
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/basic_string.h:5530:41:   required from here
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/alloc_traits.h:140:1: error: no type named ‘difference_type’ in ‘struct std::pointer_traits<char32_t*>’
 _GLIBCXX_ALLOC_TR_NESTED_TYPE(difference_type,
 ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/alloc_traits.h:140:1: error: no matching function for call to ‘std::allocator_traits<std::allocator<char32_t> >::_S_difference_type_helper(std::allocator<char32_t>*)’
 _GLIBCXX_ALLOC_TR_NESTED_TYPE(difference_type,
 ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/alloc_traits.h:140:1: note: candidate: template<class _Tp> static typename _Tp::difference_type std::allocator_traits<_Alloc>::_S_difference_type_helper(_Tp*) [with _Tp = _Tp; _Alloc = std::allocator<char32_t>]
 _GLIBCXX_ALLOC_TR_NESTED_TYPE(difference_type,
 ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/alloc_traits.h:140:1: note:   template argument deduction/substitution failed:
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/alloc_traits.h: In substitution of ‘template<class _Tp> static typename _Tp::difference_type std::allocator_traits<_Alloc>::_S_difference_type_helper(_Tp*) [with _Tp = std::allocator<char32_t>]’:
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/alloc_traits.h:140:1:   required from ‘struct std::allocator_traits<std::allocator<char32_t> >’
/usr/local/gcc-5.1.0/include/c++/5.1.0/ext/alloc_traits.h:95:10:   required from ‘struct __gnu_cxx::__alloc_traits<std::allocator<char32_t> >’
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/basic_string.h:74:24:   required from ‘class std::__cxx11::basic_string<char32_t>’
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/basic_string.h:5530:41:   required from here
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/alloc_traits.h:140:1: error: no type named ‘difference_type’ in ‘class std::allocator<char32_t>’
In file included from /usr/local/gcc-5.1.0/include/c++/5.1.0/string:53:0,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/random:40,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_algo.h:66,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/algorithm:62,
                 from ./Main.cpp:3:
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/basic_string.tcc: In function ‘std::basic_istream<_CharT, _Traits>& std::operator>>(std::basic_istream<_CharT, _Traits>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&)’:
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/basic_string.tcc:1463:14: error: ‘streamsize’ does not name a type
        const streamsize __w = __in.width();
              ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/basic_string.tcc:1464:32: error: ‘__w’ was not declared in this scope
        const __size_type __n = __w > 0 ? static_cast<__size_type>(__w)
                                ^
In file included from /usr/local/gcc-5.1.0/include/c++/5.1.0/vector:64:0,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/random.h:34,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/random:49,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_algo.h:66,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/algorithm:62,
                 from ./Main.cpp:3:
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_vector.h: At global scope:
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_vector.h:237:15: error: ‘ptrdiff_t’ does not name a type
       typedef ptrdiff_t      difference_type;
               ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_vector.h: In member function ‘std::vector<_Tp, _Alloc>::iterator std::vector<_Tp, _Alloc>::insert(std::vector<_Tp, _Alloc>::const_iterator, std::vector<_Tp, _Alloc>::size_type, const value_type&)’:
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_vector.h:1053:2: error: ‘difference_type’ was not declared in this scope
  difference_type __offset = __position - cbegin();
  ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_vector.h:1054:27: error: ‘__offset’ was not declared in this scope
  _M_fill_insert(begin() + __offset, __n, __x);
                           ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_vector.h: In member function ‘std::vector<_Tp, _Alloc>::iterator std::vector<_Tp, _Alloc>::insert(std::vector<_Tp, _Alloc>::const_iterator, _InputIterator, _InputIterator)’:
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_vector.h:1098:4: error: ‘difference_type’ was not declared in this scope
    difference_type __offset = __position - cbegin();
    ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_vector.h:1099:33: error: ‘__offset’ was not declared in this scope
    _M_insert_dispatch(begin() + __offset,
                                 ^
In file included from /usr/local/gcc-5.1.0/include/c++/5.1.0/vector:65:0,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/random.h:34,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/random:49,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_algo.h:66,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/algorithm:62,
                 from ./Main.cpp:3:
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_bvector.h: At global scope:
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_bvector.h:137:63: error: template argument 3 is invalid
   : public std::iterator<std::random_access_iterator_tag, bool>
                                                               ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_bvector.h:166:13: error: ‘ptrdiff_t’ has not been declared
     _M_incr(ptrdiff_t __i)
             ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_bvector.h: In member function ‘void std::_Bit_iterator_base::_M_incr(int)’:
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_bvector.h:168:7: error: ‘difference_type’ was not declared in this scope
       difference_type __n = __i + _M_offset;
       ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_bvector.h:169:15: error: ‘__n’ was not declared in this scope
       _M_p += __n / int(_S_word_bit);
               ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_bvector.h: At global scope:
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_bvector.h:207:10: error: ‘ptrdiff_t’ does not name a type
   inline ptrdiff_t
          ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_bvector.h:264:16: error: declaration of ‘operator+=’ as non-function
     operator+=(difference_type __i)
                ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_bvector.h:264:13: error: expected ‘;’ at end of member declaration
     operator+=(difference_type __i)
             ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_bvector.h:264:32: error: expected ‘)’ before ‘__i’
     operator+=(difference_type __i)
                                ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_bvector.h:271:16: error: declaration of ‘operator-=’ as non-function
     operator-=(difference_type __i)
                ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_bvector.h:271:13: error: expected ‘;’ at end of member declaration
     operator-=(difference_type __i)
             ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_bvector.h:271:32: error: expected ‘)’ before ‘__i’
     operator-=(difference_type __i)
                                ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_bvector.h:278:15: error: ‘difference_type’ has not been declared
     operator+(difference_type __i) const
               ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_bvector.h:285:15: error: ‘difference_type’ has not been declared
     operator-(difference_type __i) const
               ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_bvector.h:292:16: error: ‘difference_type’ has not been declared
     operator[](difference_type __i) const
                ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_bvector.h: In member function ‘std::_Bit_iterator::iterator std::_Bit_iterator::operator+(int) const’:
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_bvector.h:281:20: error: no match for ‘operator+=’ (operand types are ‘std::_Bit_iterator::iterator {aka std::_Bit_iterator}’ and ‘int’)
       return __tmp += __i;
                    ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_bvector.h: In member function ‘std::_Bit_iterator::iterator std::_Bit_iterator::operator-(int) const’:
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_bvector.h:288:20: error: no match for ‘operator-=’ (operand types are ‘std::_Bit_iterator::iterator {aka std::_Bit_iterator}’ and ‘int’)
       return __tmp -= __i;
                    ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_bvector.h: At global scope:
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_bvector.h:297:13: error: declaration of ‘operator+’ as non-function
   operator+(ptrdiff_t __n, const _Bit_iterator& __x)
             ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_bvector.h:297:13: error: ‘ptrdiff_t’ was not declared in this scope
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_bvector.h:297:28: error: expected primary-expression before ‘const’
   operator+(ptrdiff_t __n, const _Bit_iterator& __x)
                            ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_bvector.h:354:16: error: declaration of ‘operator+=’ as non-function
     operator+=(difference_type __i)
                ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_bvector.h:354:13: error: expected ‘;’ at end of member declaration
     operator+=(difference_type __i)
             ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_bvector.h:354:32: error: expected ‘)’ before ‘__i’
     operator+=(difference_type __i)
                                ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_bvector.h:361:16: error: declaration of ‘operator-=’ as non-function
     operator-=(difference_type __i)
                ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_bvector.h:361:13: error: expected ‘;’ at end of member declaration
     operator-=(difference_type __i)
             ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_bvector.h:361:32: error: expected ‘)’ before ‘__i’
     operator-=(difference_type __i)
                                ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_bvector.h:368:15: error: ‘difference_type’ has not been declared
     operator+(difference_type __i) const
               ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_bvector.h:375:15: error: ‘difference_type’ has not been declared
     operator-(difference_type __i) const
               ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_bvector.h:382:16: error: ‘difference_type’ has not been declared
     operator[](difference_type __i) const
                ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_bvector.h: In member function ‘std::_Bit_const_iterator::const_iterator std::_Bit_const_iterator::operator+(int) const’:
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_bvector.h:371:20: error: no match for ‘operator+=’ (operand types are ‘std::_Bit_const_iterator::const_iterator {aka std::_Bit_const_iterator}’ and ‘int’)
       return __tmp += __i;
                    ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_bvector.h: In member function ‘std::_Bit_const_iterator::const_iterator std::_Bit_const_iterator::operator-(int) const’:
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_bvector.h:378:20: error: no match for ‘operator-=’ (operand types are ‘std::_Bit_const_iterator::const_iterator {aka std::_Bit_const_iterator}’ and ‘int’)
       return __tmp -= __i;
                    ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_bvector.h: At global scope:
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_bvector.h:387:13: error: declaration of ‘operator+’ as non-function
   operator+(ptrdiff_t __n, const _Bit_const_iterator& __x)
             ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_bvector.h:387:13: error: ‘ptrdiff_t’ was not declared in this scope
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_bvector.h:387:28: error: expected primary-expression before ‘const’
   operator+(ptrdiff_t __n, const _Bit_const_iterator& __x)
                            ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_bvector.h:554:13: error: ‘ptrdiff_t’ does not name a type
     typedef ptrdiff_t                                    difference_type;
             ^
In file included from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_algobase.h:67:0,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/algorithm:61,
                 from ./Main.cpp:3:
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_iterator.h: In instantiation of ‘class std::reverse_iterator<std::_Bit_iterator>’:
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_bvector.h:793:5:   required from here
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_iterator.h:97:11: error: no type named ‘iterator_category’ in ‘struct std::iterator_traits<std::_Bit_iterator>’
     class reverse_iterator
           ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_iterator.h:111:55: error: no type named ‘difference_type’ in ‘struct std::iterator_traits<std::_Bit_iterator>’
       typedef typename __traits_type::difference_type difference_type;
                                                       ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_iterator.h:112:48: error: no type named ‘pointer’ in ‘struct std::iterator_traits<std::_Bit_iterator>’
       typedef typename __traits_type::pointer  pointer;
                                                ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_iterator.h:113:50: error: no type named ‘reference’ in ‘struct std::iterator_traits<std::_Bit_iterator>’
       typedef typename __traits_type::reference  reference;
                                                  ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_iterator.h: In instantiation of ‘class std::reverse_iterator<std::_Bit_const_iterator>’:
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_bvector.h:797:5:   required from here
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_iterator.h:97:11: error: no type named ‘iterator_category’ in ‘struct std::iterator_traits<std::_Bit_const_iterator>’
     class reverse_iterator
           ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_iterator.h:111:55: error: no type named ‘difference_type’ in ‘struct std::iterator_traits<std::_Bit_const_iterator>’
       typedef typename __traits_type::difference_type difference_type;
                                                       ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_iterator.h:112:48: error: no type named ‘pointer’ in ‘struct std::iterator_traits<std::_Bit_const_iterator>’
       typedef typename __traits_type::pointer  pointer;
                                                ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_iterator.h:113:50: error: no type named ‘reference’ in ‘struct std::iterator_traits<std::_Bit_const_iterator>’
       typedef typename __traits_type::reference  reference;
                                                  ^
In file included from /usr/local/gcc-5.1.0/include/c++/5.1.0/vector:65:0,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/random.h:34,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/random:49,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_algo.h:66,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/algorithm:62,
                 from ./Main.cpp:3:
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_bvector.h: In member function ‘std::vector<bool, _Alloc>::size_type std::vector<bool, _Alloc>::max_size() const’:
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_bvector.h:833:30: error: ‘difference_type’ was not declared in this scope
  __gnu_cxx::__numeric_traits<difference_type>::__max
                              ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_bvector.h:833:45: error: template argument 1 is invalid
  __gnu_cxx::__numeric_traits<difference_type>::__max
                                             ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_bvector.h: In member function ‘std::vector<bool, _Alloc>::iterator std::vector<bool, _Alloc>::insert(std::vector<bool, _Alloc>::const_iterator, const bool&)’:
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_bvector.h:956:13: error: ‘difference_type’ does not name a type
       const difference_type __n = __position - begin();
             ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_bvector.h:962:24: error: ‘__n’ was not declared in this scope
       return begin() + __n;
                        ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_bvector.h: In member function ‘std::vector<bool, _Alloc>::iterator std::vector<bool, _Alloc>::insert(std::vector<bool, _Alloc>::const_iterator, _InputIterator, _InputIterator)’:
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_bvector.h:972:2: error: ‘difference_type’ was not declared in this scope
  difference_type __offset = __position - cbegin();
  ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_bvector.h:975:19: error: ‘__offset’ was not declared in this scope
  return begin() + __offset;
                   ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_bvector.h: In member function ‘std::vector<bool, _Alloc>::iterator std::vector<bool, _Alloc>::insert(std::vector<bool, _Alloc>::const_iterator, std::vector<bool, _Alloc>::size_type, const bool&)’:
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_bvector.h:992:7: error: ‘difference_type’ was not declared in this scope
       difference_type __offset = __position - cbegin();
       ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_bvector.h:994:24: error: ‘__offset’ was not declared in this scope
       return begin() + __offset;
                        ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_bvector.h: In member function ‘void std::vector<bool, _Alloc>::resize(std::vector<bool, _Alloc>::size_type, bool)’:
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_bvector.h:1032:61: error: there are no arguments to ‘difference_type’ that depend on a template parameter, so a declaration of ‘difference_type’ must be available [-fpermissive]
         _M_erase_at_end(begin() + difference_type(__new_size));
                                                             ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_bvector.h:1032:61: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_bvector.h: In member function ‘void std::vector<bool, _Alloc>::_M_initialize(std::vector<bool, _Alloc>::size_type)’:
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_bvector.h:1084:77: error: there are no arguments to ‘difference_type’ that depend on a template parameter, so a declaration of ‘difference_type’ must be available [-fpermissive]
       this->_M_impl._M_finish = this->_M_impl._M_start + difference_type(__n);
                                                                             ^
In file included from /usr/local/gcc-5.1.0/include/c++/5.1.0/vector:69:0,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/random.h:34,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/random:49,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_algo.h:66,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/algorithm:62,
                 from ./Main.cpp:3:
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/vector.tcc: In member function ‘void std::vector<bool, _Alloc>::_M_fill_insert(std::vector<bool, _Alloc>::iterator, std::vector<bool, _Alloc>::size_type, bool)’:
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/vector.tcc:720:54: error: there are no arguments to ‘difference_type’ that depend on a template parameter, so a declaration of ‘difference_type’ must be available [-fpermissive]
         this->_M_impl._M_finish + difference_type(__n));
                                                      ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/vector.tcc:721:58: error: there are no arguments to ‘difference_type’ that depend on a template parameter, so a declaration of ‘difference_type’ must be available [-fpermissive]
    std::fill(__position, __position + difference_type(__n), __x);
                                                          ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/vector.tcc:722:50: error: there are no arguments to ‘difference_type’ that depend on a template parameter, so a declaration of ‘difference_type’ must be available [-fpermissive]
    this->_M_impl._M_finish += difference_type(__n);
                                                  ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/vector.tcc:731:44: error: there are no arguments to ‘difference_type’ that depend on a template parameter, so a declaration of ‘difference_type’ must be available [-fpermissive]
    std::fill(__i, __i + difference_type(__n), __x);
                                            ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/vector.tcc:733:37: error: there are no arguments to ‘difference_type’ that depend on a template parameter, so a declaration of ‘difference_type’ must be available [-fpermissive]
            __i + difference_type(__n));
                                     ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/vector.tcc: In member function ‘void std::vector<bool, _Alloc>::_M_insert_range(std::vector<bool, _Alloc>::iterator, _ForwardIterator, _ForwardIterator, std::forward_iterator_tag)’:
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/vector.tcc:754:29: error: there are no arguments to ‘difference_type’ that depend on a template parameter, so a declaration of ‘difference_type’ must be available [-fpermissive]
        + difference_type(__n));
                             ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/vector.tcc:756:49: error: there are no arguments to ‘difference_type’ that depend on a template parameter, so a declaration of ‘difference_type’ must be available [-fpermissive]
   this->_M_impl._M_finish += difference_type(__n);
                                                 ^
In file included from /usr/local/gcc-5.1.0/include/c++/5.1.0/ext/alloc_traits.h:36:0,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_construct.h:61,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_tempbuf.h:60,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_algo.h:62,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/algorithm:62,
                 from ./Main.cpp:3:
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/alloc_traits.h: In instantiation of ‘struct std::allocator_traits<std::allocator<double> >’:
/usr/local/gcc-5.1.0/include/c++/5.1.0/ext/alloc_traits.h:95:10:   required from ‘struct __gnu_cxx::__alloc_traits<std::allocator<double> >’
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_vector.h:75:28:   required from ‘struct std::_Vector_base<double, std::allocator<double> >’
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_vector.h:214:11:   required from ‘class std::vector<double>’
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/random.h:5298:22:   required from here
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/alloc_traits.h:140:1: error: no type named ‘difference_type’ in ‘struct std::pointer_traits<double*>’
 _GLIBCXX_ALLOC_TR_NESTED_TYPE(difference_type,
 ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/alloc_traits.h:140:1: error: no matching function for call to ‘std::allocator_traits<std::allocator<double> >::_S_difference_type_helper(std::allocator<double>*)’
 _GLIBCXX_ALLOC_TR_NESTED_TYPE(difference_type,
 ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/alloc_traits.h:140:1: note: candidate: template<class _Tp> static typename _Tp::difference_type std::allocator_traits<_Alloc>::_S_difference_type_helper(_Tp*) [with _Tp = _Tp; _Alloc = std::allocator<double>]
 _GLIBCXX_ALLOC_TR_NESTED_TYPE(difference_type,
 ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/alloc_traits.h:140:1: note:   template argument deduction/substitution failed:
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/alloc_traits.h: In substitution of ‘template<class _Tp> static typename _Tp::difference_type std::allocator_traits<_Alloc>::_S_difference_type_helper(_Tp*) [with _Tp = std::allocator<double>]’:
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/alloc_traits.h:140:1:   required from ‘struct std::allocator_traits<std::allocator<double> >’
/usr/local/gcc-5.1.0/include/c++/5.1.0/ext/alloc_traits.h:95:10:   required from ‘struct __gnu_cxx::__alloc_traits<std::allocator<double> >’
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_vector.h:75:28:   required from ‘struct std::_Vector_base<double, std::allocator<double> >’
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_vector.h:214:11:   required from ‘class std::vector<double>’
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/random.h:5298:22:   required from here
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/alloc_traits.h:140:1: error: no type named ‘difference_type’ in ‘class std::allocator<double>’
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/alloc_traits.h: In instantiation of ‘struct std::allocator_traits<std::allocator<unsigned int> >’:
/usr/local/gcc-5.1.0/include/c++/5.1.0/ext/alloc_traits.h:95:10:   required from ‘struct __gnu_cxx::__alloc_traits<std::allocator<unsigned int> >’
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_vector.h:75:28:   required from ‘struct std::_Vector_base<unsigned int, std::allocator<unsigned int> >’
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_vector.h:214:11:   required from ‘class std::vector<unsigned int>’
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/random.h:6058:30:   required from here
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/alloc_traits.h:140:1: error: no type named ‘difference_type’ in ‘struct std::pointer_traits<unsigned int*>’
 _GLIBCXX_ALLOC_TR_NESTED_TYPE(difference_type,
 ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/alloc_traits.h:140:1: error: no matching function for call to ‘std::allocator_traits<std::allocator<unsigned int> >::_S_difference_type_helper(std::allocator<unsigned int>*)’
 _GLIBCXX_ALLOC_TR_NESTED_TYPE(difference_type,
 ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/alloc_traits.h:140:1: note: candidate: template<class _Tp> static typename _Tp::difference_type std::allocator_traits<_Alloc>::_S_difference_type_helper(_Tp*) [with _Tp = _Tp; _Alloc = std::allocator<unsigned int>]
 _GLIBCXX_ALLOC_TR_NESTED_TYPE(difference_type,
 ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/alloc_traits.h:140:1: note:   template argument deduction/substitution failed:
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/alloc_traits.h: In substitution of ‘template<class _Tp> static typename _Tp::difference_type std::allocator_traits<_Alloc>::_S_difference_type_helper(_Tp*) [with _Tp = std::allocator<unsigned int>]’:
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/alloc_traits.h:140:1:   required from ‘struct std::allocator_traits<std::allocator<unsigned int> >’
/usr/local/gcc-5.1.0/include/c++/5.1.0/ext/alloc_traits.h:95:10:   required from ‘struct __gnu_cxx::__alloc_traits<std::allocator<unsigned int> >’
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_vector.h:75:28:   required from ‘struct std::_Vector_base<unsigned int, std::allocator<unsigned int> >’
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_vector.h:214:11:   required from ‘class std::vector<unsigned int>’
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/random.h:6058:30:   required from here
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/alloc_traits.h:140:1: error: no type named ‘difference_type’ in ‘class std::allocator<unsigned int>’
In file included from /usr/local/gcc-5.1.0/include/c++/5.1.0/random:51:0,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_algo.h:66,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/algorithm:62,
                 from ./Main.cpp:3:
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/random.tcc: In function ‘std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const std::uniform_real_distribution<_IntType>&)’:
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/random.tcc:1096:18: error: ‘streamsize’ in namespace ‘std’ does not name a type
       const std::streamsize __precision = __os.precision();
                  ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/random.tcc:1106:22: error: ‘__precision’ was not declared in this scope
       __os.precision(__precision);
                      ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/random.tcc: In function ‘std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const std::bernoulli_distribution&)’:
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/random.tcc:1158:18: error: ‘streamsize’ in namespace ‘std’ does not name a type
       const std::streamsize __precision = __os.precision();
                  ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/random.tcc:1167:22: error: ‘__precision’ was not declared in this scope
       __os.precision(__precision);
                      ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/random.tcc: In function ‘std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const std::geometric_distribution<_IntType>&)’:
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/random.tcc:1240:18: error: ‘streamsize’ in namespace ‘std’ does not name a type
       const std::streamsize __precision = __os.precision();
                  ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/random.tcc:1249:22: error: ‘__precision’ was not declared in this scope
       __os.precision(__precision);
                      ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/random.tcc: In function ‘std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const std::negative_binomial_distribution<_IntType>&)’:
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/random.tcc:1355:18: error: ‘streamsize’ in namespace ‘std’ does not name a type
       const std::streamsize __precision = __os.precision();
                  ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/random.tcc:1366:22: error: ‘__precision’ was not declared in this scope
       __os.precision(__precision);
                      ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/random.tcc: In function ‘std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const std::poisson_distribution<_IntType>&)’:
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/random.tcc:1560:18: error: ‘streamsize’ in namespace ‘std’ does not name a type
       const std::streamsize __precision = __os.precision();
                  ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/random.tcc:1570:22: error: ‘__precision’ was not declared in this scope
       __os.precision(__precision);
                      ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/random.tcc: In function ‘std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const std::binomial_distribution<_IntType>&)’:
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/random.tcc:1827:18: error: ‘streamsize’ in namespace ‘std’ does not name a type
       const std::streamsize __precision = __os.precision();
                  ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/random.tcc:1838:22: error: ‘__precision’ was not declared in this scope
       __os.precision(__precision);
                      ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/random.tcc: In function ‘std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const std::exponential_distribution<_RealType>&)’:
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/random.tcc:1891:18: error: ‘streamsize’ in namespace ‘std’ does not name a type
       const std::streamsize __precision = __os.precision();
                  ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/random.tcc:1900:22: error: ‘__precision’ was not declared in this scope
       __os.precision(__precision);
                      ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/random.tcc: In function ‘std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const std::normal_distribution<_RealType>&)’:
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/random.tcc:2058:18: error: ‘streamsize’ in namespace ‘std’ does not name a type
       const std::streamsize __precision = __os.precision();
                  ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/random.tcc:2071:22: error: ‘__precision’ was not declared in this scope
       __os.precision(__precision);
                      ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/random.tcc: In function ‘std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const std::lognormal_distribution<_RealType>&)’:
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/random.tcc:2123:18: error: ‘streamsize’ in namespace ‘std’ does not name a type
       const std::streamsize __precision = __os.precision();
                  ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/random.tcc:2134:22: error: ‘__precision’ was not declared in this scope
       __os.precision(__precision);
                      ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/random.tcc: In function ‘std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const std::chi_squared_distribution<_RealType>&)’:
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/random.tcc:2196:18: error: ‘streamsize’ in namespace ‘std’ does not name a type
       const std::streamsize __precision = __os.precision();
                  ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/random.tcc:2206:22: error: ‘__precision’ was not declared in this scope
       __os.precision(__precision);
                      ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/random.tcc: In function ‘std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const std::cauchy_distribution<_RealType>&)’:
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/random.tcc:2283:18: error: ‘streamsize’ in namespace ‘std’ does not name a type
       const std::streamsize __precision = __os.precision();
                  ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/random.tcc:2293:22: error: ‘__precision’ was not declared in this scope
       __os.precision(__precision);
                      ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/random.tcc: In function ‘std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const std::fisher_f_distribution<_RealType>&)’:
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/random.tcc:2360:18: error: ‘streamsize’ in namespace ‘std’ does not name a type
       const std::streamsize __precision = __os.precision();
                  ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/random.tcc:2371:22: error: ‘__precision’ was not declared in this scope
       __os.precision(__precision);
                      ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/random.tcc: In function ‘std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const std::student_t_distribution<_RealType>&)’:
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/random.tcc:2435:18: error: ‘streamsize’ in namespace ‘std’ does not name a type
       const std::streamsize __precision = __os.precision();
                  ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/random.tcc:2445:22: error: ‘__precision’ was not declared in this scope
       __os.precision(__precision);
                      ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/random.tcc: In function ‘std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const std::gamma_distribution<_RealType>&)’:
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/random.tcc:2604:18: error: ‘streamsize’ in namespace ‘std’ does not name a type
       const std::streamsize __precision = __os.precision();
                  ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/random.tcc:2615:22: error: ‘__precision’ was not declared in this scope
       __os.precision(__precision);
                      ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/random.tcc: In function ‘std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const std::weibull_distribution<_RealType>&)’:
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/random.tcc:2682:18: error: ‘streamsize’ in namespace ‘std’ does not name a type
       const std::streamsize __precision = __os.precision();
                  ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/random.tcc:2692:22: error: ‘__precision’ was not declared in this scope
       __os.precision(__precision);
                      ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/random.tcc: In function ‘std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const std::extreme_value_distribution<_RealType>&)’:
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/random.tcc:2758:18: error: ‘streamsize’ in namespace ‘std’ does not name a type
       const std::streamsize __precision = __os.precision();
                  ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/random.tcc:2768:22: error: ‘__precision’ was not declared in this scope
       __os.precision(__precision);
                      ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/random.tcc: In function ‘std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const std::discrete_distribution<_IntType>&)’:
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/random.tcc:2894:18: error: ‘streamsize’ in namespace ‘std’ does not name a type
       const std::streamsize __precision = __os.precision();
                  ^
In file included from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_algobase.h:67:0,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/algorithm:61,
                 from ./Main.cpp:3:
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_iterator.h: In instantiation of ‘class __gnu_cxx::__normal_iterator<double*, std::vector<double> >’:
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/random.tcc:2902:61:   required from here
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_iterator.h:732:56: error: no type named ‘difference_type’ in ‘struct std::iterator_traits<double*>’
       typedef typename __traits_type::difference_type  difference_type;
                                                        ^
In file included from /usr/local/gcc-5.1.0/include/c++/5.1.0/random:51:0,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/bits/stl_algo.h:66,
                 from /usr/local/gcc-5.1.0/include/c++/5.1.0/algorithm:62,
                 from ./Main.cpp:3:
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/random.tcc:2907:22: error: ‘__precision’ was not declared in this scope
       __os.precision(__precision);
                      ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/random.tcc: In function ‘std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const std::piecewise_constant_distribution<_RealType>&)’:
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/random.tcc:3104:18: error: ‘streamsize’ in namespace ‘std’ does not name a type
       const std::streamsize __precision = __os.precision();
                  ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/random.tcc:3122:22: error: ‘__precision’ was not declared in this scope
       __os.precision(__precision);
                      ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/random.tcc: In function ‘std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const std::piecewise_linear_distribution<_RealType>&)’:
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/random.tcc:3320:18: error: ‘streamsize’ in namespace ‘std’ does not name a type
       const std::streamsize __precision = __os.precision();
                  ^
/usr/local/gcc-5.1.0/include/c++/5.1.0/bits/random.tcc:3338:22: error: ‘__precision’ was not declared in this scope
       __os.precision(__precision);
                      ^
./Main.cpp: In function ‘int main()’:
./Main.cpp:15:3: error: ‘cout’ was not declared in this scope
   cout << t/60 << endl << t%60 << endl;
   ^
./Main.cpp:15:19: error: ‘endl’ was not declared in this scope
   cout << t/60 << endl << t%60 << endl;
                   ^

セット

セット 得点 Cases

テストケース

ファイル名 状態 実行時間 メモリ使用量 #